Bug#969089: nvidia-legacy-340xx-driver: Fails to build with kernel 5.8
jim_p
pitsiorisj at gmail.com
Thu Aug 27 15:47:40 BST 2020
Package: nvidia-legacy-340xx-driver
Version: 340.108-6
Severity: normal
Tags: patch
Dear Maintainer,
As usual, the module fails to build with kernel 5.8. The log is attached at teh
end.
There is this patch I found in aur, but, as usual, I do not know how to do the
patching.
https://gist.github.com/graysky2/a07851c3f835dc748079bfec0aee636a
-- Package-specific info:
uname -a:
Linux mitsos 5.7.0-3-amd64 #1 SMP Debian 5.7.17-1 (2020-08-23) x86_64 GNU/Linux
/proc/version:
Linux version 5.7.0-3-amd64 (debian-kernel at lists.debian.org) (gcc version 9.3.0
(Debian 9.3.0-17), GNU ld (GNU Binutils for Debian) 2.35) #1 SMP Debian
5.7.17-1 (2020-08-23)
/proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module 340.108 Wed Dec 11 11:06:58
PST 2019
GCC version: gcc version 9.3.0 (Debian 9.3.0-15)
lspci 'display controller [030?]':
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218 [GeForce
210] [10de:0a65] (rev a2) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. GT218 [GeForce 210] [1043:8490]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 30
Region 0: Memory at f4000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at e0000000 (64-bit, prefetchable) [size=32M]
Region 5: I/O ports at b000 [size=128]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidia
dmesg:
[ 0.155572] Console: colour VGA+ 80x25
[ 0.590695] pci 0000:01:00.0: vgaarb: setting as boot VGA device
[ 0.590695] pci 0000:01:00.0: vgaarb: VGA device added:
decodes=io+mem,owns=io+mem,locks=none
[ 0.590695] pci 0000:01:00.0: vgaarb: bridge control possible
[ 0.590695] vgaarb: loaded
[ 0.769996] Linux agpgart interface v0.103
[ 3.182288] nvidia: loading out-of-tree module taints kernel.
[ 3.182299] nvidia: module license 'NVIDIA' taints kernel.
[ 3.195707] nvidia: module verification failed: signature and/or required
key missing - tainting kernel
[ 3.224449] nvidia 0000:01:00.0: vgaarb: changed VGA decodes:
olddecodes=io+mem,decodes=none:owns=io+mem
[ 3.224870] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on
minor 0
[ 3.224882] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 340.108 Wed Dec
11 11:06:58 PST 2019
[ 3.696082] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 3.779027] input: HDA NVidia HDMI/DP,pcm=3 as
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input9
[ 3.779107] input: HDA NVidia HDMI/DP,pcm=7 as
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input10
[ 3.779189] input: HDA NVidia HDMI/DP,pcm=8 as
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input11
[ 3.779258] input: HDA NVidia HDMI/DP,pcm=9 as
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input12
[ 9.244188] caller _nv000788rm+0xe4/0x1c0 [nvidia] mapping multiple BARs
Device node permissions:
crw-rw----+ 1 root video 226, 0 Aug 27 17:27 /dev/dri/card0
crw-rw-rw- 1 root root 195, 0 Aug 27 17:30 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 Aug 27 17:30 /dev/nvidiactl
/dev/dri/by-path:
total 0
lrwxrwxrwx 1 root root 8 Aug 27 17:27 pci-0000:01:00.0-card -> ../card0
video:*:44:jim
OpenGL and NVIDIA library files installed:
lrwxrwxrwx 1 root root 15 Jun 8 11:36 /etc/alternatives/glx ->
/usr/lib/nvidia
lrwxrwxrwx 1 root root 44 Jun 8 11:36 /etc/alternatives/glx--
libEGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libEGL.so.1
lrwxrwxrwx 1 root root 43 Jun 8 11:36 /etc/alternatives/glx--
libGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root 43 Jun 8 11:36 /etc/alternatives/glx--
libGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root 25 Jun 8 11:36 /etc/alternatives/glx--linux-
libglx.so -> /usr/lib/nvidia/libglx.so
lrwxrwxrwx 1 root root 42 Jun 8 11:36 /etc/alternatives/glx--nvidia-
blacklists-nouveau.conf -> /etc/nvidia/nvidia-blacklists-nouveau.conf
lrwxrwxrwx 1 root root 36 Jun 8 11:36 /etc/alternatives/glx--nvidia-bug-
report.sh -> /usr/lib/nvidia/nvidia-bug-report.sh
lrwxrwxrwx 1 root root 39 Jun 8 11:36 /etc/alternatives/glx--nvidia-drm-
outputclass.conf -> /etc/nvidia/nvidia-drm-outputclass.conf
lrwxrwxrwx 1 root root 28 Jun 8 11:36 /etc/alternatives/glx--nvidia-
load.conf -> /etc/nvidia/nvidia-load.conf
lrwxrwxrwx 1 root root 32 Jun 8 11:36 /etc/alternatives/glx--nvidia-
modprobe.conf -> /etc/nvidia/nvidia-modprobe.conf
lrwxrwxrwx 1 root root 29 Jun 8 11:36 /etc/alternatives/glx--
nvidia_drv.so -> /usr/lib/nvidia/nvidia_drv.so
lrwxrwxrwx 1 root root 28 Jan 5 2020 /etc/alternatives/nvidia ->
/usr/lib/nvidia/legacy-340xx
lrwxrwxrwx 1 root root 57 Jan 5 2020 /etc/alternatives/nvidia--
libEGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-
gnu/nvidia/legacy-340xx/libEGL.so.1
lrwxrwxrwx 1 root root 56 Jan 5 2020 /etc/alternatives/nvidia--
libGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-
gnu/nvidia/legacy-340xx/libGL.so.1
lrwxrwxrwx 1 root root 56 Jan 5 2020 /etc/alternatives/nvidia--
libGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-
gnu/nvidia/legacy-340xx/libGL.so.1
lrwxrwxrwx 1 root root 38 Jan 5 2020 /etc/alternatives/nvidia--
libglx.so -> /usr/lib/nvidia/legacy-340xx/libglx.so
lrwxrwxrwx 1 root root 63 Jan 5 2020 /etc/alternatives/nvidia--
libnvidia-ml.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-
gnu/nvidia/legacy-340xx/libnvidia-ml.so.1
lrwxrwxrwx 1 root root 66 Jan 5 2020 /etc/alternatives/nvidia--
libvdpau_nvidia.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-
gnu/nvidia/legacy-340xx/libvdpau_nvidia.so.1
lrwxrwxrwx 1 root root 44 Jan 5 2020 /etc/alternatives/nvidia--
monitoring.conf -> /usr/lib/nvidia/legacy-340xx/monitoring.conf
lrwxrwxrwx 1 root root 43 Jan 5 2020 /etc/alternatives/nvidia--nv-
control-dpy -> /usr/lib/nvidia/legacy-340xx/nv-control-dpy
lrwxrwxrwx 1 root root 55 Jan 5 2020 /etc/alternatives/nvidia--nvidia-
blacklists-nouveau.conf -> /etc/nvidia/legacy-340xx/nvidia-blacklists-
nouveau.conf
lrwxrwxrwx 1 root root 49 Jan 5 2020 /etc/alternatives/nvidia--nvidia-
bug-report.sh -> /usr/lib/nvidia/legacy-340xx/nvidia-bug-report.sh
lrwxrwxrwx 1 root root 45 Jan 5 2020 /etc/alternatives/nvidia--nvidia-
debugdump -> /usr/lib/nvidia/legacy-340xx/nvidia-debugdump
lrwxrwxrwx 1 root root 52 Jan 5 2020 /etc/alternatives/nvidia--nvidia-
drm-outputclass.conf -> /etc/nvidia/legacy-340xx/nvidia-drm-outputclass.conf
lrwxrwxrwx 1 root root 41 Jan 5 2020 /etc/alternatives/nvidia--nvidia-
load.conf -> /etc/nvidia/legacy-340xx/nvidia-load.conf
lrwxrwxrwx 1 root root 45 Jan 5 2020 /etc/alternatives/nvidia--nvidia-
modprobe.conf -> /etc/nvidia/legacy-340xx/nvidia-modprobe.conf
lrwxrwxrwx 1 root root 44 Jan 5 2020 /etc/alternatives/nvidia--nvidia-
settings -> /usr/lib/nvidia/legacy-340xx/nvidia-settings
lrwxrwxrwx 1 root root 49 Jan 5 2020 /etc/alternatives/nvidia--nvidia-
settings.1.gz -> /usr/lib/nvidia/legacy-340xx/nvidia-settings.1.gz
lrwxrwxrwx 1 root root 52 Jan 5 2020 /etc/alternatives/nvidia--nvidia-
settings.desktop -> /usr/lib/nvidia/legacy-340xx/nvidia-settings.desktop
lrwxrwxrwx 1 root root 42 Jan 5 2020 /etc/alternatives/nvidia--
nvidia_drv.so -> /usr/lib/nvidia/legacy-340xx/nvidia_drv.so
lrwxrwxrwx 1 root root 51 Jan 5 2020 /usr/lib/x86_64-linux-
gnu/libEGL.so.1 -> /etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu
lrwxrwxrwx 1 root root 50 Jan 5 2020 /usr/lib/x86_64-linux-
gnu/libGL.so.1 -> /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu
-rw-r--r-- 1 root root 42508504 Dec 12 2019 /usr/lib/x86_64-linux-
gnu/libnvidia-eglcore.so.340.108
-rw-r--r-- 1 root root 44003128 Dec 12 2019 /usr/lib/x86_64-linux-
gnu/libnvidia-glcore.so.340.108
-rw-r--r-- 1 root root 481024 Dec 12 2019 /usr/lib/x86_64-linux-
gnu/libnvidia-glsi.so.340.108
lrwxrwxrwx 1 root root 60 Jan 5 2020 /usr/lib/x86_64-linux-
gnu/libnvidia-ml.so.1 -> /etc/alternatives/nvidia--libnvidia-
ml.so.1-x86_64-linux-gnu
-rw-r--r-- 1 root root 13008 Dec 12 2019 /usr/lib/x86_64-linux-
gnu/libnvidia-tls.so.340.108
lrwxrwxrwx 1 root root 36 Jan 5 2020
/usr/lib/xorg/modules/drivers/nvidia_drv.so -> /etc/alternatives/glx--
nvidia_drv.so
-rw-r--r-- 1 root root 289992 Mar 31 13:14
/usr/lib/xorg/modules/extensions/libglx.so
lrwxrwxrwx 1 root root 38 Jan 5 2020
/usr/lib/xorg/modules/linux/libglx.so -> /etc/alternatives/glx--linux-libglx.so
-rw-r--r-- 1 root root 28694 Aug 27 17:30 /var/log/Xorg.0.log
-rw-r--r-- 1 root root 29638 Aug 27 17:21 /var/log/Xorg.0.log.old
/etc/X11/xorg.conf.d/:
total 8
drwxr-xr-x 2 root root 4096 Oct 27 2019 .
drwxr-xr-x 11 root root 4096 Mar 5 06:56 ..
/etc/nvidia/:
total 12
drwxr-xr-x 3 root root 4096 Jan 5 2020 .
drwxr-xr-x 107 root root 4096 Aug 27 17:37 ..
drwxr-xr-x 2 root root 4096 May 26 06:41 legacy-340xx
lrwxrwxrwx 1 root root 56 Jan 5 2020 nvidia-blacklists-nouveau.conf ->
/etc/alternatives/nvidia--nvidia-blacklists-nouveau.conf
lrwxrwxrwx 1 root root 53 Jan 5 2020 nvidia-drm-outputclass.conf ->
/etc/alternatives/nvidia--nvidia-drm-outputclass.conf
lrwxrwxrwx 1 root root 42 Jan 5 2020 nvidia-load.conf ->
/etc/alternatives/nvidia--nvidia-load.conf
lrwxrwxrwx 1 root root 46 Jan 5 2020 nvidia-modprobe.conf ->
/etc/alternatives/nvidia--nvidia-modprobe.conf
/usr/lib/mesa-diverted/:
total 28
drwxr-xr-x 7 root root 4096 Jul 13 06:53 .
drwxr-xr-x 83 root root 4096 Aug 27 17:33 ..
drwxr-xr-x 2 root root 4096 Jul 2 23:31 aarch64-linux-gnu
drwxr-xr-x 2 root root 4096 Nov 14 2019 arm-linux-gnueabihf
drwxr-xr-x 2 root root 4096 Nov 14 2019 i386-linux-gnu
drwxr-xr-x 2 root root 4096 Nov 14 2019 powerpc64le-linux-gnu
drwxr-xr-x 2 root root 4096 Aug 15 07:11 x86_64-linux-gnu
/usr/lib/mesa-diverted/aarch64-linux-gnu/:
total 8
drwxr-xr-x 2 root root 4096 Jul 2 23:31 .
drwxr-xr-x 7 root root 4096 Jul 13 06:53 ..
/usr/lib/mesa-diverted/arm-linux-gnueabihf/:
total 8
drwxr-xr-x 2 root root 4096 Nov 14 2019 .
drwxr-xr-x 7 root root 4096 Jul 13 06:53 ..
/usr/lib/mesa-diverted/i386-linux-gnu/:
total 8
drwxr-xr-x 2 root root 4096 Nov 14 2019 .
drwxr-xr-x 7 root root 4096 Jul 13 06:53 ..
/usr/lib/mesa-diverted/powerpc64le-linux-gnu/:
total 8
drwxr-xr-x 2 root root 4096 Nov 14 2019 .
drwxr-xr-x 7 root root 4096 Jul 13 06:53 ..
/usr/lib/mesa-diverted/x86_64-linux-gnu/:
total 620
drwxr-xr-x 2 root root 4096 Aug 15 07:11 .
drwxr-xr-x 7 root root 4096 Jul 13 06:53 ..
lrwxrwxrwx 1 root root 15 Jul 29 17:05 libEGL.so.1 -> libEGL.so.1.1.0
-rw-r--r-- 1 root root 80352 Jul 29 17:05 libEGL.so.1.1.0
lrwxrwxrwx 1 root root 14 Jul 29 17:05 libGL.so.1 -> libGL.so.1.7.0
-rw-r--r-- 1 root root 542904 Jul 29 17:05 libGL.so.1.7.0
lrwxrwxrwx 1 root root 16 Aug 10 10:32 libGLX_indirect.so.0 ->
libGLX_mesa.so.0
/usr/lib/mesa/:
total 8
drwxr-xr-x 2 root root 4096 Nov 14 2019 .
drwxr-xr-x 83 root root 4096 Aug 27 17:33 ..
/usr/lib/nvidia/:
total 32
drwxr-xr-x 4 root root 4096 Jul 13 06:53 .
drwxr-xr-x 83 root root 4096 Aug 27 17:33 ..
-rw-r--r-- 1 root root 57 Jul 7 22:48 alternate-install-present
drwxr-xr-x 2 root root 4096 Nov 14 2019 bumblebee
-rwxr-xr-x 1 root root 2125 Jul 7 22:48 check-for-conflicting-opengl-
libraries
-rwxr-xr-x 1 root root 1897 Jul 7 22:48 check-for-mismatching-nvidia-module
drwxr-xr-x 2 root root 4096 Jul 6 06:28 legacy-340xx
lrwxrwxrwx 1 root root 35 Jan 5 2020 libglx.so -> /etc/alternatives/nvidia
--libglx.so
lrwxrwxrwx 1 root root 24 Jan 5 2020 nvidia -> /etc/alternatives/nvidia
lrwxrwxrwx 1 root root 46 Jan 5 2020 nvidia-bug-report.sh ->
/etc/alternatives/nvidia--nvidia-bug-report.sh
lrwxrwxrwx 1 root root 39 Jan 5 2020 nvidia_drv.so ->
/etc/alternatives/nvidia--nvidia_drv.so
-rwxr-xr-x 1 root root 618 Jul 7 22:48 pre-install
/usr/lib/nvidia/bumblebee/:
total 8
drwxr-xr-x 2 root root 4096 Nov 14 2019 .
drwxr-xr-x 4 root root 4096 Jul 13 06:53 ..
/usr/lib/nvidia/legacy-340xx/:
total 27920
drwxr-xr-x 2 root root 4096 Jul 6 06:28 .
drwxr-xr-x 4 root root 4096 Jul 13 06:53 ..
lrwxrwxrwx 1 root root 17 May 20 18:07 libglx.so -> libglx.so.340.108
-rw-r--r-- 1 root root 16603688 Dec 12 2019 libglx.so.340.108
-rw-r--r-- 1 root root 427 Dec 11 2019 monitoring.conf
-rwxr-xr-x 1 root root 39016 Jul 1 15:19 nv-control-dpy
-rwxr-xr-x 1 root root 23490 Dec 11 2019 nvidia-bug-report.sh
-rwxr-xr-x 1 root root 208432 Dec 12 2019 nvidia-debugdump
-rwxr-xr-x 1 root root 1907864 Jul 1 15:19 nvidia-settings
-rw-r--r-- 1 root root 8463 Jul 1 15:19 nvidia-settings.1.gz
-rw-r--r-- 1 root root 1276 Jul 1 15:19 nvidia-settings.desktop
-rw-r--r-- 1 root root 4392 May 20 18:07 nvidia.ids
-rw-r--r-- 1 root root 9761088 Dec 12 2019 nvidia_drv.so
/usr/lib/nvidia/nvidia/:
total 27920
drwxr-xr-x 2 root root 4096 Jul 6 06:28 .
drwxr-xr-x 4 root root 4096 Jul 13 06:53 ..
lrwxrwxrwx 1 root root 17 May 20 18:07 libglx.so -> libglx.so.340.108
-rw-r--r-- 1 root root 16603688 Dec 12 2019 libglx.so.340.108
-rw-r--r-- 1 root root 427 Dec 11 2019 monitoring.conf
-rwxr-xr-x 1 root root 39016 Jul 1 15:19 nv-control-dpy
-rwxr-xr-x 1 root root 23490 Dec 11 2019 nvidia-bug-report.sh
-rwxr-xr-x 1 root root 208432 Dec 12 2019 nvidia-debugdump
-rwxr-xr-x 1 root root 1907864 Jul 1 15:19 nvidia-settings
-rw-r--r-- 1 root root 8463 Jul 1 15:19 nvidia-settings.1.gz
-rw-r--r-- 1 root root 1276 Jul 1 15:19 nvidia-settings.desktop
-rw-r--r-- 1 root root 4392 May 20 18:07 nvidia.ids
-rw-r--r-- 1 root root 9761088 Dec 12 2019 nvidia_drv.so
/usr/lib/x86_64-linux-gnu/nvidia/:
total 80
drwxr-xr-x 3 root root 4096 Jan 5 2020 .
drwxr-xr-x 73 root root 69632 Aug 27 17:33 ..
drwxr-xr-x 2 root root 4096 May 26 06:41 legacy-340xx
lrwxrwxrwx 1 root root 54 Jan 5 2020 libEGL.so.1 ->
/etc/alternatives/nvidia--libEGL.so.1-x86_64-linux-gnu
lrwxrwxrwx 1 root root 53 Jan 5 2020 libGL.so.1 ->
/etc/alternatives/nvidia--libGL.so.1-x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/nvidia/legacy-340xx/:
total 4960
drwxr-xr-x 2 root root 4096 May 26 06:41 .
drwxr-xr-x 3 root root 4096 Jan 5 2020 ..
lrwxrwxrwx 1 root root 17 May 20 18:07 libEGL.so.1 -> libEGL.so.340.108
-rw-r--r-- 1 root root 987736 Dec 12 2019 libEGL.so.340.108
lrwxrwxrwx 1 root root 16 May 20 18:07 libGL.so.1 -> libGL.so.340.108
-rw-r--r-- 1 root root 1267800 Dec 12 2019 libGL.so.340.108
lrwxrwxrwx 1 root root 17 May 20 18:07 libnvidia-ml.so -> libnvidia-
ml.so.1
lrwxrwxrwx 1 root root 23 May 20 18:07 libnvidia-ml.so.1 -> libnvidia-
ml.so.340.108
-rw-r--r-- 1 root root 880800 Dec 12 2019 libnvidia-ml.so.340.108
lrwxrwxrwx 1 root root 26 May 20 18:07 libvdpau_nvidia.so.1 ->
libvdpau_nvidia.so.340.108
-rw-r--r-- 1 root root 1922832 Dec 12 2019 libvdpau_nvidia.so.340.108
/usr/share/X11/xorg.conf.d/:
total 32
drwxr-xr-x 2 root root 4096 Aug 22 06:51 .
drwxr-xr-x 5 root root 4096 Aug 7 06:56 ..
-rw-r--r-- 1 root root 92 Oct 22 2019 10-amdgpu.conf
-rw-r--r-- 1 root root 1099 Apr 14 19:13 10-evdev.conf
-rw-r--r-- 1 root root 1350 Mar 31 13:14 10-quirks.conf
-rw-r--r-- 1 root root 92 Oct 22 2019 10-radeon.conf
-rw-r--r-- 1 root root 1429 Aug 17 13:45 40-libinput.conf
-rw-r--r-- 1 root root 1753 Apr 6 14:13 70-synaptics.conf
lrwxrwxrwx 1 root root 50 Jan 5 2020 nvidia-drm-outputclass.conf ->
/etc/alternatives/glx--nvidia-drm-outputclass.conf
/etc/modprobe.d:
total 20
drwxr-xr-x 2 root root 4096 Aug 16 06:52 .
drwxr-xr-x 107 root root 4096 Aug 27 17:37 ..
-rw-r--r-- 1 root root 127 Nov 7 2019 dkms.conf
-rw-r--r-- 1 root root 154 Apr 17 2016 intel-microcode-blacklist.conf
lrwxrwxrwx 1 root root 53 Jan 5 2020 nvidia-blacklists-nouveau.conf ->
/etc/alternatives/glx--nvidia-blacklists-nouveau.conf
-rw-r--r-- 1 root root 260 Dec 27 2019 nvidia-kernel-common.conf
lrwxrwxrwx 1 root root 43 Jan 5 2020 nvidia.conf -> /etc/alternatives/glx
--nvidia-modprobe.conf
/etc/modprobe.d/nvidia-kernel-common.conf:alias char-major-195* nvidia
/etc/modprobe.d/nvidia-kernel-common.conf:#options nvidia NVreg_DeviceFileUID=0
NVreg_DeviceFileGID=44 NVreg_DeviceFileMode=0660
/etc/modprobe.d/nvidia-kernel-common.conf:# options nvidia NVreg_EnableAGPSBA=1
/etc/modprobe.d/nvidia-kernel-common.conf:# options nvidia NVreg_EnableAGPFW=1
/etc/modules-load.d:
-rw-r--r-- 1 root root 284 Apr 15 2019 /etc/modules
/etc/modules-load.d/:
total 8
drwxr-xr-x 2 root root 4096 Aug 20 06:38 .
drwxr-xr-x 107 root root 4096 Aug 27 17:37 ..
lrwxrwxrwx 1 root root 10 Aug 17 23:28 modules.conf -> ../modules
lrwxrwxrwx 1 root root 39 Jan 5 2020 nvidia.conf -> /etc/alternatives/glx
--nvidia-load.conf
Files from nvidia-installer:
Config and logfiles:
<<<<<<<<<< /etc/modprobe.d/nvidia-blacklists-nouveau.conf >>>>>>>>>>
# You need to run "update-initramfs -u" after editing this file.
# see #580894
blacklist nouveau
^^^^^^^^^^ /etc/modprobe.d/nvidia-blacklists-nouveau.conf ^^^^^^^^^^
<<<<<<<<<< /etc/modprobe.d/nvidia-kernel-common.conf >>>>>>>>>>
alias char-major-195* nvidia
#options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=44
NVreg_DeviceFileMode=0660
# To enable FastWrites and Sidebus addressing, uncomment these lines
# options nvidia NVreg_EnableAGPSBA=1
# options nvidia NVreg_EnableAGPFW=1
^^^^^^^^^^ /etc/modprobe.d/nvidia-kernel-common.conf ^^^^^^^^^^
<<<<<<<<<< /etc/modprobe.d/nvidia.conf >>>>>>>>>>
install nvidia modprobe -i nvidia-legacy-340xx $CMDLINE_OPTS
install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-legacy-340xx-uvm
$CMDLINE_OPTS
remove nvidia modprobe -r -i nvidia-uvm nvidia
# These aliases are defined in *all* nvidia modules.
# Duplicating them here sets higher precedence and ensures the selected
# module gets loaded instead of a random first match if more than one
# version is installed. See #798207.
alias pci:v000010DEd00000E00sv*sd*bc04sc80i00* nvidia
alias pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00* nvidia
alias pci:v000010DEd*sv*sd*bc03sc02i00* nvidia
alias pci:v000010DEd*sv*sd*bc03sc00i00* nvidia
^^^^^^^^^^ /etc/modprobe.d/nvidia.conf ^^^^^^^^^^
<<<<<<<<<< /var/log/Xorg.0.log >>>>>>>>>>
[ 8.630]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 8.630] Build Operating System: Linux 4.19.0-8-amd64 x86_64 Debian
[ 8.630] Current Operating System: Linux mitsos 5.7.0-3-amd64 #1 SMP Debian
5.7.17-1 (2020-08-23) x86_64
[ 8.630] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.7.0-3-amd64
root=/dev/sda3 ro nomodeset noresume net.ifnames=0 ipv6.disable=1
libahci.ignore_sss=1 mitigations=off quiet
[ 8.630] Build Date: 31 March 2020 10:14:40AM
[ 8.630] xorg-server 2:1.20.8-2 (https://www.debian.org/support)
[ 8.630] Current version of pixman: 0.36.0
[ 8.630] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 8.630] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 8.630] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 27 17:30:02
2020
[ 8.634] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 8.636] (==) No Layout section. Using the first Screen section.
[ 8.636] (==) No screen section available. Using defaults.
[ 8.636] (**) |-->Screen "Default Screen Section" (0)
[ 8.636] (**) | |-->Monitor "<default monitor>"
[ 8.637] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 8.637] (==) Automatically adding devices
[ 8.637] (==) Automatically enabling devices
[ 8.637] (==) Automatically adding GPU devices
[ 8.637] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 8.641] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 8.641] Entry deleted from font path.
[ 8.642] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 8.642] (**) ModulePath set to
"/usr/lib/xorg/modules/linux,/usr/lib/xorg/modules"
[ 8.642] (II) The server relies on udev to provide the list of input
devices.
If no devices become available, reconfigure udev or disable
AutoAddDevices.
[ 8.642] (II) Loader magic: 0x564c556cfe20
[ 8.642] (II) Module ABI versions:
[ 8.642] X.Org ANSI C Emulation: 0.4
[ 8.642] X.Org Video Driver: 24.1
[ 8.642] X.Org XInput driver : 24.1
[ 8.642] X.Org Server Extension : 10.0
[ 8.644] (++) using VT number 7
[ 8.644] (II) systemd-logind: logind integration requires -keeptty and
-keeptty was not provided, disabling logind integration
[ 8.644] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 8.651] (--) PCI:*(1 at 0:0:0) 10de:0a65:1043:8490 rev 162, Mem @
0xf4000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @
0x0000b000/128, BIOS @ 0x????????/131072
[ 8.651] (II) LoadModule: "glx"
[ 8.657] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[ 8.836] (II) Module glx: vendor="NVIDIA Corporation"
[ 8.836] compiled for 4.0.2, module version = 1.0.0
[ 8.836] Module class: X.Org Server Extension
[ 8.837] (II) NVIDIA GLX Module 340.108 Wed Dec 11 14:26:50 PST 2019
[ 8.838] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[ 8.838] loading driver: nvidia
[ 9.103] (==) Matched nvidia as autoconfigured driver 0
[ 9.103] (==) Matched nouveau as autoconfigured driver 1
[ 9.103] (==) Matched nv as autoconfigured driver 2
[ 9.103] (==) Matched modesetting as autoconfigured driver 3
[ 9.103] (==) Matched fbdev as autoconfigured driver 4
[ 9.103] (==) Matched vesa as autoconfigured driver 5
[ 9.103] (==) Assigned the driver to the xf86ConfigLayout
[ 9.103] (II) LoadModule: "nvidia"
[ 9.106] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 9.116] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 9.116] compiled for 4.0.2, module version = 1.0.0
[ 9.116] Module class: X.Org Video Driver
[ 9.117] (II) LoadModule: "nouveau"
[ 9.118] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 9.120] (II) Module nouveau: vendor="X.Org Foundation"
[ 9.120] compiled for 1.20.3, module version = 1.0.16
[ 9.120] Module class: X.Org Video Driver
[ 9.120] ABI class: X.Org Video Driver, version 24.0
[ 9.120] (II) LoadModule: "nv"
[ 9.120] (WW) Warning, couldn't open module nv
[ 9.120] (EE) Failed to load module "nv" (module does not exist, 0)
[ 9.120] (II) LoadModule: "modesetting"
[ 9.121] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 9.122] (II) Module modesetting: vendor="X.Org Foundation"
[ 9.122] compiled for 1.20.8, module version = 1.20.8
[ 9.122] Module class: X.Org Video Driver
[ 9.122] ABI class: X.Org Video Driver, version 24.1
[ 9.122] (II) LoadModule: "fbdev"
[ 9.122] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 9.123] (II) Module fbdev: vendor="X.Org Foundation"
[ 9.123] compiled for 1.20.0, module version = 0.5.0
[ 9.123] Module class: X.Org Video Driver
[ 9.123] ABI class: X.Org Video Driver, version 24.0
[ 9.123] (II) LoadModule: "vesa"
[ 9.123] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 9.123] (II) Module vesa: vendor="X.Org Foundation"
[ 9.123] compiled for 1.20.4, module version = 2.4.0
[ 9.123] Module class: X.Org Video Driver
[ 9.123] ABI class: X.Org Video Driver, version 24.0
[ 9.123] (II) NVIDIA dlloader X Driver 340.108 Wed Dec 11 14:06:00 PST
2019
[ 9.123] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 9.124] (II) NOUVEAU driver Date: Mon Jan 28 23:25:58 2019 -0500
[ 9.124] (II) NOUVEAU driver for NVIDIA chipset families :
[ 9.124] RIVA TNT (NV04)
[ 9.124] RIVA TNT2 (NV05)
[ 9.124] GeForce 256 (NV10)
[ 9.124] GeForce 2 (NV11, NV15)
[ 9.124] GeForce 4MX (NV17, NV18)
[ 9.124] GeForce 3 (NV20)
[ 9.124] GeForce 4Ti (NV25, NV28)
[ 9.125] GeForce FX (NV3x)
[ 9.125] GeForce 6 (NV4x)
[ 9.125] GeForce 7 (G7x)
[ 9.125] GeForce 8 (G8x)
[ 9.125] GeForce 9 (G9x)
[ 9.125] GeForce GTX 2xx/3xx (GT2xx)
[ 9.125] GeForce GTX 4xx/5xx (GFxxx)
[ 9.125] GeForce GTX 6xx/7xx (GKxxx)
[ 9.125] GeForce GTX 9xx (GMxxx)
[ 9.125] GeForce GTX 10xx (GPxxx)
[ 9.125] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 9.125] (II) FBDEV: driver for framebuffer: fbdev
[ 9.125] (II) VESA: driver for VESA chipsets: vesa
[ 9.133] (II) Loading sub module "fb"
[ 9.133] (II) LoadModule: "fb"
[ 9.133] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 9.134] (II) Module fb: vendor="X.Org Foundation"
[ 9.134] compiled for 1.20.8, module version = 1.0.0
[ 9.134] ABI class: X.Org ANSI C Emulation, version 0.4
[ 9.134] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 9.134] (II) Loading sub module "wfb"
[ 9.134] (II) LoadModule: "wfb"
[ 9.134] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 9.135] (II) Module wfb: vendor="X.Org Foundation"
[ 9.135] compiled for 1.20.8, module version = 1.0.0
[ 9.135] ABI class: X.Org ANSI C Emulation, version 0.4
[ 9.135] (II) Loading sub module "ramdac"
[ 9.135] (II) LoadModule: "ramdac"
[ 9.135] (II) Module "ramdac" already built-in
[ 9.137] (WW) Falling back to old probe method for modesetting
[ 9.138] (WW) Falling back to old probe method for fbdev
[ 9.139] (II) Loading sub module "fbdevhw"
[ 9.139] (II) LoadModule: "fbdevhw"
[ 9.139] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 9.139] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 9.139] compiled for 1.20.8, module version = 0.0.2
[ 9.139] ABI class: X.Org Video Driver, version 24.1
[ 9.139] (EE) open /dev/fb0: No such file or directory
[ 9.140] (II) NVIDIA(0): Creating default Display subsection in Screen
section
"Default Screen Section" for depth/fbbpp 24/32
[ 9.140] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 9.140] (==) NVIDIA(0): RGB weight 888
[ 9.140] (==) NVIDIA(0): Default visual is TrueColor
[ 9.140] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 9.140] (**) NVIDIA(0): Enabling 2D acceleration
[ 9.812] (II) NVIDIA(0): Display (Eizo S1701 (DFP-0)) does not support
NVIDIA 3D Vision
[ 9.812] (II) NVIDIA(0): stereo.
[ 9.812] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[ 9.814] (II) NVIDIA(0): NVIDIA GPU GeForce 210 (GT218) at PCI:1:0:0
(GPU-0)
[ 9.814] (--) NVIDIA(0): Memory: 524288 kBytes
[ 9.814] (--) NVIDIA(0): VideoBIOS: 70.18.64.00.05
[ 9.814] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 9.817] (--) NVIDIA(0): Valid display device(s) on GeForce 210 at
PCI:1:0:0
[ 9.817] (--) NVIDIA(0): CRT-0
[ 9.817] (--) NVIDIA(0): CRT-1
[ 9.817] (--) NVIDIA(0): Eizo S1701 (DFP-0) (boot, connected)
[ 9.817] (--) NVIDIA(0): DFP-1
[ 9.817] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[ 9.817] (--) NVIDIA(GPU-0): CRT-1: 400.0 MHz maximum pixel clock
[ 9.817] (--) NVIDIA(0): Eizo S1701 (DFP-0): Internal TMDS
[ 9.817] (--) NVIDIA(GPU-0): Eizo S1701 (DFP-0): 330.0 MHz maximum pixel
clock
[ 9.817] (--) NVIDIA(0): DFP-1: Internal TMDS
[ 9.817] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[ 9.817] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[ 9.817] (**) NVIDIA(0): device Eizo S1701 (DFP-0) (Using EDID
frequencies has been
[ 9.817] (**) NVIDIA(0): enabled on all display devices.)
[ 9.819] (==) NVIDIA(0):
[ 9.819] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-
auto-select"
[ 9.819] (==) NVIDIA(0): will be used as the requested mode.
[ 9.819] (==) NVIDIA(0):
[ 9.820] (II) NVIDIA(0): Validated MetaModes:
[ 9.820] (II) NVIDIA(0): "DFP-0:nvidia-auto-select"
[ 9.820] (II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
[ 9.856] (--) NVIDIA(0): DPI set to (95, 96); computed from "UseEdidDpi" X
config
[ 9.856] (--) NVIDIA(0): option
[ 9.856] (II) UnloadModule: "nouveau"
[ 9.856] (II) Unloading nouveau
[ 9.856] (II) UnloadModule: "modesetting"
[ 9.856] (II) Unloading modesetting
[ 9.856] (II) UnloadModule: "fbdev"
[ 9.856] (II) Unloading fbdev
[ 9.856] (II) UnloadSubModule: "fbdevhw"
[ 9.856] (II) Unloading fbdevhw
[ 9.856] (II) UnloadModule: "vesa"
[ 9.856] (II) Unloading vesa
[ 9.856] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory
access.
[ 9.861] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon;
the daemon
[ 9.861] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
[ 9.861] (II) NVIDIA(0): configuration option may not be set correctly.
When the
[ 9.861] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X
driver will
[ 9.861] (II) NVIDIA(0): try to use it to receive ACPI event
notifications. For
[ 9.861] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
[ 9.861] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in
Appendix B: X
[ 9.861] (II) NVIDIA(0): Config Options in the README.
[ 9.863] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
[ 9.959] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 9.960] (==) NVIDIA(0): Backing store enabled
[ 9.960] (==) NVIDIA(0): Silken mouse enabled
[ 9.961] (==) NVIDIA(0): DPMS enabled
[ 9.962] (II) Loading sub module "dri2"
[ 9.962] (II) LoadModule: "dri2"
[ 9.962] (II) Module "dri2" already built-in
[ 9.962] (II) NVIDIA(0): [DRI2] Setup complete
[ 9.962] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 9.962] (II) Initializing extension Generic Event Extension
[ 9.963] (II) Initializing extension SHAPE
[ 9.963] (II) Initializing extension MIT-SHM
[ 9.963] (II) Initializing extension XInputExtension
[ 9.964] (II) Initializing extension XTEST
[ 9.964] (II) Initializing extension BIG-REQUESTS
[ 9.965] (II) Initializing extension SYNC
[ 9.965] (II) Initializing extension XKEYBOARD
[ 9.965] (II) Initializing extension XC-MISC
[ 9.966] (II) Initializing extension SECURITY
[ 9.966] (II) Initializing extension XFIXES
[ 9.967] (II) Initializing extension RENDER
[ 9.967] (II) Initializing extension RANDR
[ 9.967] (II) Initializing extension COMPOSITE
[ 9.968] (II) Initializing extension DAMAGE
[ 9.968] (II) Initializing extension MIT-SCREEN-SAVER
[ 9.968] (II) Initializing extension DOUBLE-BUFFER
[ 9.969] (II) Initializing extension RECORD
[ 9.969] (II) Initializing extension DPMS
[ 9.969] (II) Initializing extension Present
[ 9.970] (II) Initializing extension DRI3
[ 9.970] (II) Initializing extension X-Resource
[ 9.970] (II) Initializing extension XVideo
[ 9.970] (II) Initializing extension XVideo-MotionCompensation
[ 9.970] (II) Initializing extension SELinux
[ 9.970] (II) SELinux: Disabled on system
[ 9.970] (II) Initializing extension XFree86-VidModeExtension
[ 9.971] (II) Initializing extension XFree86-DGA
[ 9.971] (II) Initializing extension XFree86-DRI
[ 9.971] (II) Initializing extension DRI2
[ 9.972] (II) Initializing extension GLX
[ 9.972] (II) Initializing extension GLX
[ 9.972] (II) Indirect GLX disabled.(II) Initializing extension NV-GLX
[ 9.973] (II) Initializing extension NV-CONTROL
[ 9.973] (II) Initializing extension XINERAMA
[ 10.126] (II) config/udev: Adding input device Power Button
(/dev/input/event7)
[ 10.126] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 10.126] (**) Power Button: Applying InputClass "libinput keyboard
catchall"
[ 10.126] (II) LoadModule: "libinput"
[ 10.126] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 10.132] (II) Module libinput: vendor="X.Org Foundation"
[ 10.132] compiled for 1.20.8, module version = 0.30.0
[ 10.132] Module class: X.Org XInput Driver
[ 10.132] ABI class: X.Org XInput driver, version 24.1
[ 10.132] (II) Using input driver 'libinput' for 'Power Button'
[ 10.133] (**) Power Button: always reports core events
[ 10.133] (**) Option "Device" "/dev/input/event7"
[ 10.133] (**) Option "_source" "server/udev"
[ 10.141] (II) event7 - Power Button: is tagged by udev as: Keyboard
[ 10.141] (II) event7 - Power Button: device is a keyboard
[ 10.141] (II) event7 - Power Button: device removed
[ 10.156] (**) Option "config_info"
"udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input7/event7"
[ 10.156] (II) XINPUT: Adding extended input device "Power Button" (type:
KEYBOARD, id 6)
[ 10.156] (**) Option "xkb_model" "pc105"
[ 10.156] (**) Option "xkb_layout" "us,gr"
[ 10.156] (**) Option "xkb_variant" ","
[ 10.156] (**) Option "xkb_options"
"grp:alt_shift_toggle,terminate:ctrl_alt_bksp,grp_led:scroll"
[ 10.214] (II) event7 - Power Button: is tagged by udev as: Keyboard
[ 10.214] (II) event7 - Power Button: device is a keyboard
[ 10.215] (II) config/udev: Adding input device Power Button
(/dev/input/event6)
[ 10.215] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 10.215] (**) Power Button: Applying InputClass "libinput keyboard
catchall"
[ 10.215] (II) Using input driver 'libinput' for 'Power Button'
[ 10.215] (**) Power Button: always reports core events
[ 10.215] (**) Option "Device" "/dev/input/event6"
[ 10.215] (**) Option "_source" "server/udev"
[ 10.218] (II) event6 - Power Button: is tagged by udev as: Keyboard
[ 10.218] (II) event6 - Power Button: device is a keyboard
[ 10.218] (II) event6 - Power Button: device removed
[ 10.232] (**) Option "config_info"
"udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input6/event6"
[ 10.232] (II) XINPUT: Adding extended input device "Power Button" (type:
KEYBOARD, id 7)
[ 10.232] (**) Option "xkb_model" "pc105"
[ 10.232] (**) Option "xkb_layout" "us,gr"
[ 10.232] (**) Option "xkb_variant" ","
[ 10.232] (**) Option "xkb_options"
"grp:alt_shift_toggle,terminate:ctrl_alt_bksp,grp_led:scroll"
[ 10.234] (II) event6 - Power Button: is tagged by udev as: Keyboard
[ 10.235] (II) event6 - Power Button: device is a keyboard
[ 10.236] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7
(/dev/input/event3)
[ 10.236] (II) No input driver specified, ignoring this device.
[ 10.236] (II) This device may have been added with another device file.
[ 10.237] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8
(/dev/input/event4)
[ 10.237] (II) No input driver specified, ignoring this device.
[ 10.237] (II) This device may have been added with another device file.
[ 10.238] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9
(/dev/input/event5)
[ 10.238] (II) No input driver specified, ignoring this device.
[ 10.238] (II) This device may have been added with another device file.
[ 10.239] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3
(/dev/input/event2)
[ 10.239] (II) No input driver specified, ignoring this device.
[ 10.239] (II) This device may have been added with another device file.
[ 10.240] (II) config/udev: Adding input device COMPANY USB Device Keyboard
(/dev/input/event16)
[ 10.241] (**) COMPANY USB Device Keyboard: Applying InputClass "evdev
keyboard catchall"
[ 10.241] (**) COMPANY USB Device Keyboard: Applying InputClass "libinput
keyboard catchall"
[ 10.241] (II) Using input driver 'libinput' for 'COMPANY USB Device
Keyboard'
[ 10.241] (**) COMPANY USB Device Keyboard: always reports core events
[ 10.241] (**) Option "Device" "/dev/input/event16"
[ 10.241] (**) Option "_source" "server/udev"
[ 10.244] (II) event16 - COMPANY USB Device Keyboard: is tagged by udev as:
Keyboard
[ 10.245] (II) event16 - COMPANY USB Device Keyboard: device is a keyboard
[ 10.245] (II) event16 - COMPANY USB Device Keyboard: device removed
[ 10.264] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1a.2/usb3/3-1/3-1:1.0/0003:09DA:F012.0003/input/input21/event16"
[ 10.264] (II) XINPUT: Adding extended input device "COMPANY USB Device
Keyboard" (type: KEYBOARD, id 8)
[ 10.264] (**) Option "xkb_model" "pc105"
[ 10.264] (**) Option "xkb_layout" "us,gr"
[ 10.264] (**) Option "xkb_variant" ","
[ 10.264] (**) Option "xkb_options"
"grp:alt_shift_toggle,terminate:ctrl_alt_bksp,grp_led:scroll"
[ 10.268] (II) event16 - COMPANY USB Device Keyboard: is tagged by udev as:
Keyboard
[ 10.268] (II) event16 - COMPANY USB Device Keyboard: device is a keyboard
[ 10.270] (II) config/udev: Adding input device COMPANY USB Device System
Control (/dev/input/event17)
[ 10.270] (**) COMPANY USB Device System Control: Applying InputClass "evdev
keyboard catchall"
[ 10.270] (**) COMPANY USB Device System Control: Applying InputClass
"libinput keyboard catchall"
[ 10.270] (II) Using input driver 'libinput' for 'COMPANY USB Device System
Control'
[ 10.270] (**) COMPANY USB Device System Control: always reports core events
[ 10.270] (**) Option "Device" "/dev/input/event17"
[ 10.270] (**) Option "_source" "server/udev"
[ 10.274] (II) event17 - COMPANY USB Device System Control: is tagged by
udev as: Keyboard
[ 10.274] (II) event17 - COMPANY USB Device System Control: device is a
keyboard
[ 10.275] (II) event17 - COMPANY USB Device System Control: device removed
[ 10.288] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1a.2/usb3/3-1/3-1:1.0/0003:09DA:F012.0003/input/input22/event17"
[ 10.288] (II) XINPUT: Adding extended input device "COMPANY USB Device
System Control" (type: KEYBOARD, id 9)
[ 10.288] (**) Option "xkb_model" "pc105"
[ 10.288] (**) Option "xkb_layout" "us,gr"
[ 10.288] (**) Option "xkb_variant" ","
[ 10.288] (**) Option "xkb_options"
"grp:alt_shift_toggle,terminate:ctrl_alt_bksp,grp_led:scroll"
[ 10.292] (II) event17 - COMPANY USB Device System Control: is tagged by
udev as: Keyboard
[ 10.292] (II) event17 - COMPANY USB Device System Control: device is a
keyboard
[ 10.294] (II) config/udev: Adding input device COMPANY USB Device Consumer
Control (/dev/input/event18)
[ 10.294] (**) COMPANY USB Device Consumer Control: Applying InputClass
"evdev keyboard catchall"
[ 10.294] (**) COMPANY USB Device Consumer Control: Applying InputClass
"libinput keyboard catchall"
[ 10.294] (II) Using input driver 'libinput' for 'COMPANY USB Device
Consumer Control'
[ 10.295] (**) COMPANY USB Device Consumer Control: always reports core
events
[ 10.295] (**) Option "Device" "/dev/input/event18"
[ 10.295] (**) Option "_source" "server/udev"
[ 10.298] (II) event18 - COMPANY USB Device Consumer Control: is tagged by
udev as: Keyboard
[ 10.299] (II) event18 - COMPANY USB Device Consumer Control: device is a
keyboard
[ 10.299] (II) event18 - COMPANY USB Device Consumer Control: device removed
[ 10.312] (II) libinput: COMPANY USB Device Consumer Control: needs a
virtual subdevice
[ 10.312] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1a.2/usb3/3-1/3-1:1.0/0003:09DA:F012.0003/input/input23/event18"
[ 10.312] (II) XINPUT: Adding extended input device "COMPANY USB Device
Consumer Control" (type: MOUSE, id 10)
[ 10.312] (**) Option "AccelerationScheme" "none"
[ 10.312] (**) COMPANY USB Device Consumer Control: (accel) selected scheme
none/0
[ 10.312] (**) COMPANY USB Device Consumer Control: (accel) acceleration
factor: 2.000
[ 10.312] (**) COMPANY USB Device Consumer Control: (accel) acceleration
threshold: 4
[ 10.316] (II) event18 - COMPANY USB Device Consumer Control: is tagged by
udev as: Keyboard
[ 10.316] (II) event18 - COMPANY USB Device Consumer Control: device is a
keyboard
[ 10.318] (II) config/udev: Adding input device COMPANY USB Device
(/dev/input/event19)
[ 10.318] (II) No input driver specified, ignoring this device.
[ 10.318] (II) This device may have been added with another device file.
[ 10.320] (II) config/udev: Adding input device COMPANY USB Device
(/dev/input/event20)
[ 10.320] (**) COMPANY USB Device: Applying InputClass "evdev pointer
catchall"
[ 10.320] (**) COMPANY USB Device: Applying InputClass "libinput pointer
catchall"
[ 10.320] (II) Using input driver 'libinput' for 'COMPANY USB Device'
[ 10.320] (**) COMPANY USB Device: always reports core events
[ 10.320] (**) Option "Device" "/dev/input/event20"
[ 10.320] (**) Option "_source" "server/udev"
[ 10.383] (II) event20 - COMPANY USB Device: is tagged by udev as: Mouse
[ 10.383] (II) event20 - COMPANY USB Device: device is a pointer
[ 10.384] (II) event20 - COMPANY USB Device: device removed
[ 10.420] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1a.2/usb3/3-1/3-1:1.1/0003:09DA:F012.0004/input/input25/event20"
[ 10.420] (II) XINPUT: Adding extended input device "COMPANY USB Device"
(type: MOUSE, id 11)
[ 10.420] (**) Option "AccelerationScheme" "none"
[ 10.420] (**) COMPANY USB Device: (accel) selected scheme none/0
[ 10.420] (**) COMPANY USB Device: (accel) acceleration factor: 2.000
[ 10.420] (**) COMPANY USB Device: (accel) acceleration threshold: 4
[ 10.483] (II) event20 - COMPANY USB Device: is tagged by udev as: Mouse
[ 10.483] (II) event20 - COMPANY USB Device: device is a pointer
[ 10.485] (II) config/udev: Adding input device COMPANY USB Device
(/dev/input/mouse0)
[ 10.485] (II) No input driver specified, ignoring this device.
[ 10.485] (II) This device may have been added with another device file.
[ 10.486] (II) config/udev: Adding input device HDA Digital PCBeep
(/dev/input/event8)
[ 10.486] (II) No input driver specified, ignoring this device.
[ 10.486] (II) This device may have been added with another device file.
[ 10.487] (II) config/udev: Adding input device HDA Intel Rear Mic
(/dev/input/event9)
[ 10.487] (II) No input driver specified, ignoring this device.
[ 10.487] (II) This device may have been added with another device file.
[ 10.488] (II) config/udev: Adding input device HDA Intel Front Mic
(/dev/input/event10)
[ 10.488] (II) No input driver specified, ignoring this device.
[ 10.488] (II) This device may have been added with another device file.
[ 10.489] (II) config/udev: Adding input device HDA Intel Line
(/dev/input/event11)
[ 10.489] (II) No input driver specified, ignoring this device.
[ 10.489] (II) This device may have been added with another device file.
[ 10.490] (II) config/udev: Adding input device HDA Intel Line Out Front
(/dev/input/event12)
[ 10.490] (II) No input driver specified, ignoring this device.
[ 10.490] (II) This device may have been added with another device file.
[ 10.490] (II) config/udev: Adding input device HDA Intel Line Out Surround
(/dev/input/event13)
[ 10.491] (II) No input driver specified, ignoring this device.
[ 10.491] (II) This device may have been added with another device file.
[ 10.491] (II) config/udev: Adding input device HDA Intel Line Out CLFE
(/dev/input/event14)
[ 10.491] (II) No input driver specified, ignoring this device.
[ 10.491] (II) This device may have been added with another device file.
[ 10.492] (II) config/udev: Adding input device HDA Intel Line Out Side
(/dev/input/event15)
[ 10.492] (II) No input driver specified, ignoring this device.
[ 10.492] (II) This device may have been added with another device file.
[ 10.493] (II) config/udev: Adding input device AT Translated Set 2 keyboard
(/dev/input/event0)
[ 10.493] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev
keyboard catchall"
[ 10.493] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput
keyboard catchall"
[ 10.493] (II) Using input driver 'libinput' for 'AT Translated Set 2
keyboard'
[ 10.493] (**) AT Translated Set 2 keyboard: always reports core events
[ 10.494] (**) Option "Device" "/dev/input/event0"
[ 10.494] (**) Option "_source" "server/udev"
[ 10.496] (II) event0 - AT Translated Set 2 keyboard: is tagged by udev as:
Keyboard
[ 10.497] (II) event0 - AT Translated Set 2 keyboard: device is a keyboard
[ 10.498] (II) event0 - AT Translated Set 2 keyboard: device removed
[ 10.520] (**) Option "config_info"
"udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[ 10.520] (II) XINPUT: Adding extended input device "AT Translated Set 2
keyboard" (type: KEYBOARD, id 12)
[ 10.520] (**) Option "xkb_model" "pc105"
[ 10.520] (**) Option "xkb_layout" "us,gr"
[ 10.520] (**) Option "xkb_variant" ","
[ 10.520] (**) Option "xkb_options"
"grp:alt_shift_toggle,terminate:ctrl_alt_bksp,grp_led:scroll"
[ 10.523] (II) event0 - AT Translated Set 2 keyboard: is tagged by udev as:
Keyboard
[ 10.523] (II) event0 - AT Translated Set 2 keyboard: device is a keyboard
[ 10.526] (II) config/udev: Adding input device PC Speaker
(/dev/input/event1)
[ 10.526] (II) No input driver specified, ignoring this device.
[ 10.526] (II) This device may have been added with another device file.
[ 10.536] (**) COMPANY USB Device Consumer Control: Applying InputClass
"evdev keyboard catchall"
[ 10.536] (**) COMPANY USB Device Consumer Control: Applying InputClass
"libinput keyboard catchall"
[ 10.536] (II) Using input driver 'libinput' for 'COMPANY USB Device
Consumer Control'
[ 10.536] (**) COMPANY USB Device Consumer Control: always reports core
events
[ 10.536] (**) Option "Device" "/dev/input/event18"
[ 10.536] (**) Option "_source" "_driver/libinput"
[ 10.536] (II) libinput: COMPANY USB Device Consumer Control: is a virtual
subdevice
[ 10.536] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1a.2/usb3/3-1/3-1:1.0/0003:09DA:F012.0003/input/input23/event18"
[ 10.536] (II) XINPUT: Adding extended input device "COMPANY USB Device
Consumer Control" (type: KEYBOARD, id 13)
[ 10.536] (**) Option "xkb_model" "pc105"
[ 10.536] (**) Option "xkb_layout" "us,gr"
[ 10.536] (**) Option "xkb_variant" ","
[ 10.537] (**) Option "xkb_options"
"grp:alt_shift_toggle,terminate:ctrl_alt_bksp,grp_led:scroll"
^^^^^^^^^^ /var/log/Xorg.0.log ^^^^^^^^^^
<<<<<<<<<< /var/log/Xorg.0.log.old >>>>>>>>>>
[ 8.110]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 8.110] Build Operating System: Linux 4.19.0-8-amd64 x86_64 Debian
[ 8.110] Current Operating System: Linux mitsos 5.7.0-3-amd64 #1 SMP Debian
5.7.17-1 (2020-08-23) x86_64
[ 8.110] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.7.0-3-amd64
root=/dev/sda3 ro nomodeset noresume net.ifnames=0 ipv6.disable=1
libahci.ignore_sss=1 mitigations=off quiet
[ 8.110] Build Date: 31 March 2020 10:14:40AM
[ 8.110] xorg-server 2:1.20.8-2 (https://www.debian.org/support)
[ 8.110] Current version of pixman: 0.36.0
[ 8.110] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 8.110] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 8.111] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 27 16:26:00
2020
[ 8.114] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 8.116] (==) No Layout section. Using the first Screen section.
[ 8.116] (==) No screen section available. Using defaults.
[ 8.116] (**) |-->Screen "Default Screen Section" (0)
[ 8.116] (**) | |-->Monitor "<default monitor>"
[ 8.117] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 8.117] (==) Automatically adding devices
[ 8.117] (==) Automatically enabling devices
[ 8.117] (==) Automatically adding GPU devices
[ 8.118] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 8.121] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 8.122] Entry deleted from font path.
[ 8.122] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 8.122] (**) ModulePath set to
"/usr/lib/xorg/modules/linux,/usr/lib/xorg/modules"
[ 8.122] (II) The server relies on udev to provide the list of input
devices.
If no devices become available, reconfigure udev or disable
AutoAddDevices.
[ 8.122] (II) Loader magic: 0x563806a2de20
[ 8.122] (II) Module ABI versions:
[ 8.122] X.Org ANSI C Emulation: 0.4
[ 8.122] X.Org Video Driver: 24.1
[ 8.122] X.Org XInput driver : 24.1
[ 8.122] X.Org Server Extension : 10.0
[ 8.124] (++) using VT number 7
[ 8.124] (II) systemd-logind: logind integration requires -keeptty and
-keeptty was not provided, disabling logind integration
[ 8.125] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 8.132] (--) PCI:*(1 at 0:0:0) 10de:0a65:1043:8490 rev 162, Mem @
0xf4000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @
0x0000b000/128, BIOS @ 0x????????/131072
[ 8.132] (II) LoadModule: "glx"
[ 8.139] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[ 8.409] (II) Module glx: vendor="NVIDIA Corporation"
[ 8.409] compiled for 4.0.2, module version = 1.0.0
[ 8.409] Module class: X.Org Server Extension
[ 8.410] (II) NVIDIA GLX Module 340.108 Wed Dec 11 14:26:50 PST 2019
[ 8.411] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[ 8.411] loading driver: nvidia
[ 8.675] (==) Matched nvidia as autoconfigured driver 0
[ 8.675] (==) Matched nouveau as autoconfigured driver 1
[ 8.675] (==) Matched nv as autoconfigured driver 2
[ 8.675] (==) Matched modesetting as autoconfigured driver 3
[ 8.675] (==) Matched fbdev as autoconfigured driver 4
[ 8.676] (==) Matched vesa as autoconfigured driver 5
[ 8.676] (==) Assigned the driver to the xf86ConfigLayout
[ 8.676] (II) LoadModule: "nvidia"
[ 8.679] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 8.689] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 8.689] compiled for 4.0.2, module version = 1.0.0
[ 8.689] Module class: X.Org Video Driver
[ 8.690] (II) LoadModule: "nouveau"
[ 8.691] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 8.693] (II) Module nouveau: vendor="X.Org Foundation"
[ 8.693] compiled for 1.20.3, module version = 1.0.16
[ 8.693] Module class: X.Org Video Driver
[ 8.693] ABI class: X.Org Video Driver, version 24.0
[ 8.693] (II) LoadModule: "nv"
[ 8.693] (WW) Warning, couldn't open module nv
[ 8.693] (EE) Failed to load module "nv" (module does not exist, 0)
[ 8.693] (II) LoadModule: "modesetting"
[ 8.694] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 8.695] (II) Module modesetting: vendor="X.Org Foundation"
[ 8.695] compiled for 1.20.8, module version = 1.20.8
[ 8.695] Module class: X.Org Video Driver
[ 8.695] ABI class: X.Org Video Driver, version 24.1
[ 8.695] (II) LoadModule: "fbdev"
[ 8.695] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 8.696] (II) Module fbdev: vendor="X.Org Foundation"
[ 8.696] compiled for 1.20.0, module version = 0.5.0
[ 8.696] Module class: X.Org Video Driver
[ 8.696] ABI class: X.Org Video Driver, version 24.0
[ 8.696] (II) LoadModule: "vesa"
[ 8.696] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 8.696] (II) Module vesa: vendor="X.Org Foundation"
[ 8.696] compiled for 1.20.4, module version = 2.4.0
[ 8.696] Module class: X.Org Video Driver
[ 8.696] ABI class: X.Org Video Driver, version 24.0
[ 8.696] (II) NVIDIA dlloader X Driver 340.108 Wed Dec 11 14:06:00 PST
2019
[ 8.696] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 8.697] (II) NOUVEAU driver Date: Mon Jan 28 23:25:58 2019 -0500
[ 8.697] (II) NOUVEAU driver for NVIDIA chipset families :
[ 8.697] RIVA TNT (NV04)
[ 8.697] RIVA TNT2 (NV05)
[ 8.697] GeForce 256 (NV10)
[ 8.697] GeForce 2 (NV11, NV15)
[ 8.697] GeForce 4MX (NV17, NV18)
[ 8.697] GeForce 3 (NV20)
[ 8.697] GeForce 4Ti (NV25, NV28)
[ 8.697] GeForce FX (NV3x)
[ 8.698] GeForce 6 (NV4x)
[ 8.698] GeForce 7 (G7x)
[ 8.698] GeForce 8 (G8x)
[ 8.698] GeForce 9 (G9x)
[ 8.698] GeForce GTX 2xx/3xx (GT2xx)
[ 8.698] GeForce GTX 4xx/5xx (GFxxx)
[ 8.698] GeForce GTX 6xx/7xx (GKxxx)
[ 8.698] GeForce GTX 9xx (GMxxx)
[ 8.698] GeForce GTX 10xx (GPxxx)
[ 8.698] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 8.698] (II) FBDEV: driver for framebuffer: fbdev
[ 8.698] (II) VESA: driver for VESA chipsets: vesa
[ 8.706] (II) Loading sub module "fb"
[ 8.706] (II) LoadModule: "fb"
[ 8.706] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 8.707] (II) Module fb: vendor="X.Org Foundation"
[ 8.707] compiled for 1.20.8, module version = 1.0.0
[ 8.707] ABI class: X.Org ANSI C Emulation, version 0.4
[ 8.707] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 8.707] (II) Loading sub module "wfb"
[ 8.707] (II) LoadModule: "wfb"
[ 8.707] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 8.708] (II) Module wfb: vendor="X.Org Foundation"
[ 8.708] compiled for 1.20.8, module version = 1.0.0
[ 8.708] ABI class: X.Org ANSI C Emulation, version 0.4
[ 8.708] (II) Loading sub module "ramdac"
[ 8.708] (II) LoadModule: "ramdac"
[ 8.708] (II) Module "ramdac" already built-in
[ 8.711] (WW) Falling back to old probe method for modesetting
[ 8.711] (WW) Falling back to old probe method for fbdev
[ 8.711] (II) Loading sub module "fbdevhw"
[ 8.711] (II) LoadModule: "fbdevhw"
[ 8.711] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 8.712] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 8.712] compiled for 1.20.8, module version = 0.0.2
[ 8.712] ABI class: X.Org Video Driver, version 24.1
[ 8.712] (EE) open /dev/fb0: No such file or directory
[ 8.712] (II) NVIDIA(0): Creating default Display subsection in Screen
section
"Default Screen Section" for depth/fbbpp 24/32
[ 8.712] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 8.712] (==) NVIDIA(0): RGB weight 888
[ 8.712] (==) NVIDIA(0): Default visual is TrueColor
[ 8.712] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 8.712] (**) NVIDIA(0): Enabling 2D acceleration
[ 9.378] (II) NVIDIA(0): Display (Eizo S1701 (DFP-0)) does not support
NVIDIA 3D Vision
[ 9.378] (II) NVIDIA(0): stereo.
[ 9.378] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[ 9.379] (II) NVIDIA(0): NVIDIA GPU GeForce 210 (GT218) at PCI:1:0:0
(GPU-0)
[ 9.379] (--) NVIDIA(0): Memory: 524288 kBytes
[ 9.379] (--) NVIDIA(0): VideoBIOS: 70.18.64.00.05
[ 9.380] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 9.382] (--) NVIDIA(0): Valid display device(s) on GeForce 210 at
PCI:1:0:0
[ 9.382] (--) NVIDIA(0): CRT-0
[ 9.382] (--) NVIDIA(0): CRT-1
[ 9.382] (--) NVIDIA(0): Eizo S1701 (DFP-0) (boot, connected)
[ 9.382] (--) NVIDIA(0): DFP-1
[ 9.382] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[ 9.382] (--) NVIDIA(GPU-0): CRT-1: 400.0 MHz maximum pixel clock
[ 9.382] (--) NVIDIA(0): Eizo S1701 (DFP-0): Internal TMDS
[ 9.382] (--) NVIDIA(GPU-0): Eizo S1701 (DFP-0): 330.0 MHz maximum pixel
clock
[ 9.382] (--) NVIDIA(0): DFP-1: Internal TMDS
[ 9.382] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[ 9.382] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[ 9.382] (**) NVIDIA(0): device Eizo S1701 (DFP-0) (Using EDID
frequencies has been
[ 9.382] (**) NVIDIA(0): enabled on all display devices.)
[ 9.385] (==) NVIDIA(0):
[ 9.385] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-
auto-select"
[ 9.385] (==) NVIDIA(0): will be used as the requested mode.
[ 9.385] (==) NVIDIA(0):
[ 9.385] (II) NVIDIA(0): Validated MetaModes:
[ 9.385] (II) NVIDIA(0): "DFP-0:nvidia-auto-select"
[ 9.385] (II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
[ 9.405] (--) NVIDIA(0): DPI set to (95, 96); computed from "UseEdidDpi" X
config
[ 9.405] (--) NVIDIA(0): option
[ 9.405] (II) UnloadModule: "nouveau"
[ 9.405] (II) Unloading nouveau
[ 9.405] (II) UnloadModule: "modesetting"
[ 9.405] (II) Unloading modesetting
[ 9.406] (II) UnloadModule: "fbdev"
[ 9.406] (II) Unloading fbdev
[ 9.406] (II) UnloadSubModule: "fbdevhw"
[ 9.406] (II) Unloading fbdevhw
[ 9.406] (II) UnloadModule: "vesa"
[ 9.406] (II) Unloading vesa
[ 9.406] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory
access.
[ 9.410] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon;
the daemon
[ 9.410] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
[ 9.410] (II) NVIDIA(0): configuration option may not be set correctly.
When the
[ 9.410] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X
driver will
[ 9.410] (II) NVIDIA(0): try to use it to receive ACPI event
notifications. For
[ 9.410] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
[ 9.410] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in
Appendix B: X
[ 9.410] (II) NVIDIA(0): Config Options in the README.
[ 9.412] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
[ 9.509] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 9.509] (==) NVIDIA(0): Backing store enabled
[ 9.509] (==) NVIDIA(0): Silken mouse enabled
[ 9.510] (==) NVIDIA(0): DPMS enabled
[ 9.511] (II) Loading sub module "dri2"
[ 9.511] (II) LoadModule: "dri2"
[ 9.511] (II) Module "dri2" already built-in
[ 9.511] (II) NVIDIA(0): [DRI2] Setup complete
[ 9.511] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 9.512] (II) Initializing extension Generic Event Extension
[ 9.512] (II) Initializing extension SHAPE
[ 9.512] (II) Initializing extension MIT-SHM
[ 9.513] (II) Initializing extension XInputExtension
[ 9.513] (II) Initializing extension XTEST
[ 9.514] (II) Initializing extension BIG-REQUESTS
[ 9.514] (II) Initializing extension SYNC
[ 9.514] (II) Initializing extension XKEYBOARD
[ 9.515] (II) Initializing extension XC-MISC
[ 9.515] (II) Initializing extension SECURITY
[ 9.516] (II) Initializing extension XFIXES
[ 9.516] (II) Initializing extension RENDER
[ 9.516] (II) Initializing extension RANDR
[ 9.517] (II) Initializing extension COMPOSITE
[ 9.517] (II) Initializing extension DAMAGE
[ 9.517] (II) Initializing extension MIT-SCREEN-SAVER
[ 9.518] (II) Initializing extension DOUBLE-BUFFER
[ 9.518] (II) Initializing extension RECORD
[ 9.518] (II) Initializing extension DPMS
[ 9.519] (II) Initializing extension Present
[ 9.519] (II) Initializing extension DRI3
[ 9.519] (II) Initializing extension X-Resource
[ 9.519] (II) Initializing extension XVideo
[ 9.520] (II) Initializing extension XVideo-MotionCompensation
[ 9.520] (II) Initializing extension SELinux
[ 9.520] (II) SELinux: Disabled on system
[ 9.520] (II) Initializing extension XFree86-VidModeExtension
[ 9.520] (II) Initializing extension XFree86-DGA
[ 9.520] (II) Initializing extension XFree86-DRI
[ 9.521] (II) Initializing extension DRI2
[ 9.521] (II) Initializing extension GLX
[ 9.521] (II) Initializing extension GLX
[ 9.521] (II) Indirect GLX disabled.(II) Initializing extension NV-GLX
[ 9.522] (II) Initializing extension NV-CONTROL
[ 9.522] (II) Initializing extension XINERAMA
[ 9.675] (II) config/udev: Adding input device Power Button
(/dev/input/event7)
[ 9.675] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 9.675] (**) Power Button: Applying InputClass "libinput keyboard
catchall"
[ 9.675] (II) LoadModule: "libinput"
[ 9.675] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 9.682] (II) Module libinput: vendor="X.Org Foundation"
[ 9.682] compiled for 1.20.8, module version = 0.30.0
[ 9.682] Module class: X.Org XInput Driver
[ 9.682] ABI class: X.Org XInput driver, version 24.1
[ 9.682] (II) Using input driver 'libinput' for 'Power Button'
[ 9.682] (**) Power Button: always reports core events
[ 9.682] (**) Option "Device" "/dev/input/event7"
[ 9.682] (**) Option "_source" "server/udev"
[ 9.690] (II) event7 - Power Button: is tagged by udev as: Keyboard
[ 9.690] (II) event7 - Power Button: device is a keyboard
[ 9.691] (II) event7 - Power Button: device removed
[ 9.709] (**) Option "config_info"
"udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input7/event7"
[ 9.709] (II) XINPUT: Adding extended input device "Power Button" (type:
KEYBOARD, id 6)
[ 9.709] (**) Option "xkb_model" "pc105"
[ 9.709] (**) Option "xkb_layout" "us,gr"
[ 9.709] (**) Option "xkb_variant" ","
[ 9.709] (**) Option "xkb_options"
"grp:alt_shift_toggle,terminate:ctrl_alt_bksp,grp_led:scroll"
[ 9.766] (II) event7 - Power Button: is tagged by udev as: Keyboard
[ 9.766] (II) event7 - Power Button: device is a keyboard
[ 9.768] (II) config/udev: Adding input device Power Button
(/dev/input/event6)
[ 9.768] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 9.768] (**) Power Button: Applying InputClass "libinput keyboard
catchall"
[ 9.768] (II) Using input driver 'libinput' for 'Power Button'
[ 9.768] (**) Power Button: always reports core events
[ 9.768] (**) Option "Device" "/dev/input/event6"
[ 9.768] (**) Option "_source" "server/udev"
[ 9.770] (II) event6 - Power Button: is tagged by udev as: Keyboard
[ 9.771] (II) event6 - Power Button: device is a keyboard
[ 9.771] (II) event6 - Power Button: device removed
[ 9.785] (**) Option "config_info"
"udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input6/event6"
[ 9.785] (II) XINPUT: Adding extended input device "Power Button" (type:
KEYBOARD, id 7)
[ 9.785] (**) Option "xkb_model" "pc105"
[ 9.785] (**) Option "xkb_layout" "us,gr"
[ 9.785] (**) Option "xkb_variant" ","
[ 9.785] (**) Option "xkb_options"
"grp:alt_shift_toggle,terminate:ctrl_alt_bksp,grp_led:scroll"
[ 9.787] (II) event6 - Power Button: is tagged by udev as: Keyboard
[ 9.788] (II) event6 - Power Button: device is a keyboard
[ 9.789] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7
(/dev/input/event3)
[ 9.789] (II) No input driver specified, ignoring this device.
[ 9.789] (II) This device may have been added with another device file.
[ 9.790] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8
(/dev/input/event4)
[ 9.790] (II) No input driver specified, ignoring this device.
[ 9.790] (II) This device may have been added with another device file.
[ 9.791] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9
(/dev/input/event5)
[ 9.791] (II) No input driver specified, ignoring this device.
[ 9.791] (II) This device may have been added with another device file.
[ 9.792] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3
(/dev/input/event2)
[ 9.792] (II) No input driver specified, ignoring this device.
[ 9.792] (II) This device may have been added with another device file.
[ 9.793] (II) config/udev: Adding input device COMPANY USB Device Keyboard
(/dev/input/event16)
[ 9.794] (**) COMPANY USB Device Keyboard: Applying InputClass "evdev
keyboard catchall"
[ 9.794] (**) COMPANY USB Device Keyboard: Applying InputClass "libinput
keyboard catchall"
[ 9.794] (II) Using input driver 'libinput' for 'COMPANY USB Device
Keyboard'
[ 9.794] (**) COMPANY USB Device Keyboard: always reports core events
[ 9.794] (**) Option "Device" "/dev/input/event16"
[ 9.794] (**) Option "_source" "server/udev"
[ 9.797] (II) event16 - COMPANY USB Device Keyboard: is tagged by udev as:
Keyboard
[ 9.798] (II) event16 - COMPANY USB Device Keyboard: device is a keyboard
[ 9.798] (II) event16 - COMPANY USB Device Keyboard: device removed
[ 9.817] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1a.2/usb3/3-1/3-1:1.0/0003:09DA:F012.0003/input/input21/event16"
[ 9.817] (II) XINPUT: Adding extended input device "COMPANY USB Device
Keyboard" (type: KEYBOARD, id 8)
[ 9.817] (**) Option "xkb_model" "pc105"
[ 9.817] (**) Option "xkb_layout" "us,gr"
[ 9.817] (**) Option "xkb_variant" ","
[ 9.817] (**) Option "xkb_options"
"grp:alt_shift_toggle,terminate:ctrl_alt_bksp,grp_led:scroll"
[ 9.821] (II) event16 - COMPANY USB Device Keyboard: is tagged by udev as:
Keyboard
[ 9.821] (II) event16 - COMPANY USB Device Keyboard: device is a keyboard
[ 9.823] (II) config/udev: Adding input device COMPANY USB Device System
Control (/dev/input/event17)
[ 9.823] (**) COMPANY USB Device System Control: Applying InputClass "evdev
keyboard catchall"
[ 9.823] (**) COMPANY USB Device System Control: Applying InputClass
"libinput keyboard catchall"
[ 9.823] (II) Using input driver 'libinput' for 'COMPANY USB Device System
Control'
[ 9.823] (**) COMPANY USB Device System Control: always reports core events
[ 9.823] (**) Option "Device" "/dev/input/event17"
[ 9.824] (**) Option "_source" "server/udev"
[ 9.827] (II) event17 - COMPANY USB Device System Control: is tagged by
udev as: Keyboard
[ 9.828] (II) event17 - COMPANY USB Device System Control: device is a
keyboard
[ 9.828] (II) event17 - COMPANY USB Device System Control: device removed
[ 9.841] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1a.2/usb3/3-1/3-1:1.0/0003:09DA:F012.0003/input/input22/event17"
[ 9.841] (II) XINPUT: Adding extended input device "COMPANY USB Device
System Control" (type: KEYBOARD, id 9)
[ 9.841] (**) Option "xkb_model" "pc105"
[ 9.841] (**) Option "xkb_layout" "us,gr"
[ 9.841] (**) Option "xkb_variant" ","
[ 9.841] (**) Option "xkb_options"
"grp:alt_shift_toggle,terminate:ctrl_alt_bksp,grp_led:scroll"
[ 9.845] (II) event17 - COMPANY USB Device System Control: is tagged by
udev as: Keyboard
[ 9.845] (II) event17 - COMPANY USB Device System Control: device is a
keyboard
[ 9.847] (II) config/udev: Adding input device COMPANY USB Device Consumer
Control (/dev/input/event18)
[ 9.847] (**) COMPANY USB Device Consumer Control: Applying InputClass
"evdev keyboard catchall"
[ 9.848] (**) COMPANY USB Device Consumer Control: Applying InputClass
"libinput keyboard catchall"
[ 9.848] (II) Using input driver 'libinput' for 'COMPANY USB Device
Consumer Control'
[ 9.848] (**) COMPANY USB Device Consumer Control: always reports core
events
[ 9.848] (**) Option "Device" "/dev/input/event18"
[ 9.848] (**) Option "_source" "server/udev"
[ 9.851] (II) event18 - COMPANY USB Device Consumer Control: is tagged by
udev as: Keyboard
[ 9.852] (II) event18 - COMPANY USB Device Consumer Control: device is a
keyboard
[ 9.852] (II) event18 - COMPANY USB Device Consumer Control: device removed
[ 9.865] (II) libinput: COMPANY USB Device Consumer Control: needs a
virtual subdevice
[ 9.865] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1a.2/usb3/3-1/3-1:1.0/0003:09DA:F012.0003/input/input23/event18"
[ 9.865] (II) XINPUT: Adding extended input device "COMPANY USB Device
Consumer Control" (type: MOUSE, id 10)
[ 9.865] (**) Option "AccelerationScheme" "none"
[ 9.865] (**) COMPANY USB Device Consumer Control: (accel) selected scheme
none/0
[ 9.865] (**) COMPANY USB Device Consumer Control: (accel) acceleration
factor: 2.000
[ 9.865] (**) COMPANY USB Device Consumer Control: (accel) acceleration
threshold: 4
[ 9.869] (II) event18 - COMPANY USB Device Consumer Control: is tagged by
udev as: Keyboard
[ 9.869] (II) event18 - COMPANY USB Device Consumer Control: device is a
keyboard
[ 9.871] (II) config/udev: Adding input device COMPANY USB Device
(/dev/input/event19)
[ 9.871] (II) No input driver specified, ignoring this device.
[ 9.871] (II) This device may have been added with another device file.
[ 9.873] (II) config/udev: Adding input device COMPANY USB Device
(/dev/input/event20)
[ 9.873] (**) COMPANY USB Device: Applying InputClass "evdev pointer
catchall"
[ 9.873] (**) COMPANY USB Device: Applying InputClass "libinput pointer
catchall"
[ 9.873] (II) Using input driver 'libinput' for 'COMPANY USB Device'
[ 9.873] (**) COMPANY USB Device: always reports core events
[ 9.873] (**) Option "Device" "/dev/input/event20"
[ 9.873] (**) Option "_source" "server/udev"
[ 9.936] (II) event20 - COMPANY USB Device: is tagged by udev as: Mouse
[ 9.936] (II) event20 - COMPANY USB Device: device is a pointer
[ 9.937] (II) event20 - COMPANY USB Device: device removed
[ 9.973] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1a.2/usb3/3-1/3-1:1.1/0003:09DA:F012.0004/input/input25/event20"
[ 9.973] (II) XINPUT: Adding extended input device "COMPANY USB Device"
(type: MOUSE, id 11)
[ 9.973] (**) Option "AccelerationScheme" "none"
[ 9.973] (**) COMPANY USB Device: (accel) selected scheme none/0
[ 9.973] (**) COMPANY USB Device: (accel) acceleration factor: 2.000
[ 9.973] (**) COMPANY USB Device: (accel) acceleration threshold: 4
[ 10.036] (II) event20 - COMPANY USB Device: is tagged by udev as: Mouse
[ 10.036] (II) event20 - COMPANY USB Device: device is a pointer
[ 10.038] (II) config/udev: Adding input device COMPANY USB Device
(/dev/input/mouse0)
[ 10.038] (II) No input driver specified, ignoring this device.
[ 10.038] (II) This device may have been added with another device file.
[ 10.039] (II) config/udev: Adding input device HDA Digital PCBeep
(/dev/input/event8)
[ 10.039] (II) No input driver specified, ignoring this device.
[ 10.039] (II) This device may have been added with another device file.
[ 10.040] (II) config/udev: Adding input device HDA Intel Rear Mic
(/dev/input/event9)
[ 10.040] (II) No input driver specified, ignoring this device.
[ 10.040] (II) This device may have been added with another device file.
[ 10.041] (II) config/udev: Adding input device HDA Intel Front Mic
(/dev/input/event10)
[ 10.041] (II) No input driver specified, ignoring this device.
[ 10.041] (II) This device may have been added with another device file.
[ 10.042] (II) config/udev: Adding input device HDA Intel Line
(/dev/input/event11)
[ 10.042] (II) No input driver specified, ignoring this device.
[ 10.042] (II) This device may have been added with another device file.
[ 10.043] (II) config/udev: Adding input device HDA Intel Line Out Front
(/dev/input/event12)
[ 10.043] (II) No input driver specified, ignoring this device.
[ 10.043] (II) This device may have been added with another device file.
[ 10.044] (II) config/udev: Adding input device HDA Intel Line Out Surround
(/dev/input/event13)
[ 10.044] (II) No input driver specified, ignoring this device.
[ 10.044] (II) This device may have been added with another device file.
[ 10.044] (II) config/udev: Adding input device HDA Intel Line Out CLFE
(/dev/input/event14)
[ 10.045] (II) No input driver specified, ignoring this device.
[ 10.045] (II) This device may have been added with another device file.
[ 10.045] (II) config/udev: Adding input device HDA Intel Line Out Side
(/dev/input/event15)
[ 10.045] (II) No input driver specified, ignoring this device.
[ 10.045] (II) This device may have been added with another device file.
[ 10.047] (II) config/udev: Adding input device AT Translated Set 2 keyboard
(/dev/input/event0)
[ 10.047] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev
keyboard catchall"
[ 10.047] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput
keyboard catchall"
[ 10.047] (II) Using input driver 'libinput' for 'AT Translated Set 2
keyboard'
[ 10.047] (**) AT Translated Set 2 keyboard: always reports core events
[ 10.047] (**) Option "Device" "/dev/input/event0"
[ 10.047] (**) Option "_source" "server/udev"
[ 10.049] (II) event0 - AT Translated Set 2 keyboard: is tagged by udev as:
Keyboard
[ 10.050] (II) event0 - AT Translated Set 2 keyboard: device is a keyboard
[ 10.051] (II) event0 - AT Translated Set 2 keyboard: device removed
[ 10.069] (**) Option "config_info"
"udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[ 10.069] (II) XINPUT: Adding extended input device "AT Translated Set 2
keyboard" (type: KEYBOARD, id 12)
[ 10.069] (**) Option "xkb_model" "pc105"
[ 10.069] (**) Option "xkb_layout" "us,gr"
[ 10.069] (**) Option "xkb_variant" ","
[ 10.069] (**) Option "xkb_options"
"grp:alt_shift_toggle,terminate:ctrl_alt_bksp,grp_led:scroll"
[ 10.072] (II) event0 - AT Translated Set 2 keyboard: is tagged by udev as:
Keyboard
[ 10.072] (II) event0 - AT Translated Set 2 keyboard: device is a keyboard
[ 10.075] (II) config/udev: Adding input device PC Speaker
(/dev/input/event1)
[ 10.075] (II) No input driver specified, ignoring this device.
[ 10.075] (II) This device may have been added with another device file.
[ 10.085] (**) COMPANY USB Device Consumer Control: Applying InputClass
"evdev keyboard catchall"
[ 10.085] (**) COMPANY USB Device Consumer Control: Applying InputClass
"libinput keyboard catchall"
[ 10.085] (II) Using input driver 'libinput' for 'COMPANY USB Device
Consumer Control'
[ 10.086] (**) COMPANY USB Device Consumer Control: always reports core
events
[ 10.086] (**) Option "Device" "/dev/input/event18"
[ 10.086] (**) Option "_source" "_driver/libinput"
[ 10.086] (II) libinput: COMPANY USB Device Consumer Control: is a virtual
subdevice
[ 10.086] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1a.2/usb3/3-1/3-1:1.0/0003:09DA:F012.0003/input/input23/event18"
[ 10.086] (II) XINPUT: Adding extended input device "COMPANY USB Device
Consumer Control" (type: KEYBOARD, id 13)
[ 10.086] (**) Option "xkb_model" "pc105"
[ 10.086] (**) Option "xkb_layout" "us,gr"
[ 10.086] (**) Option "xkb_variant" ","
[ 10.086] (**) Option "xkb_options"
"grp:alt_shift_toggle,terminate:ctrl_alt_bksp,grp_led:scroll"
[ 3309.813] (II) event7 - Power Button: device removed
[ 3309.833] (II) event6 - Power Button: device removed
[ 3309.841] (II) event16 - COMPANY USB Device Keyboard: device removed
[ 3309.853] (II) event17 - COMPANY USB Device System Control: device removed
[ 3309.869] (II) event20 - COMPANY USB Device: device removed
[ 3309.909] (II) event0 - AT Translated Set 2 keyboard: device removed
[ 3309.921] (II) event18 - COMPANY USB Device Consumer Control: device removed
[ 3309.952] (II) UnloadModule: "libinput"
[ 3309.952] (II) UnloadModule: "libinput"
[ 3309.952] (II) UnloadModule: "libinput"
[ 3309.952] (II) UnloadModule: "libinput"
[ 3309.952] (II) UnloadModule: "libinput"
[ 3309.953] (II) UnloadModule: "libinput"
[ 3309.953] (II) UnloadModule: "libinput"
[ 3309.954] (II) UnloadModule: "libinput"
[ 3310.296] (II) NVIDIA(GPU-0): Deleting GPU-0
[ 3310.299] (II) Server terminated successfully (0). Closing log file.
^^^^^^^^^^ /var/log/Xorg.0.log.old ^^^^^^^^^^
<<<<<<<<<< Xorg (journald) >>>>>>>>>>
-- Logs begin at Mon 2020-08-24 10:00:30 EEST, end at Thu 2020-08-27 17:39:40
EEST. --
-- No entries --
^^^^^^^^^^ Xorg (journald) ^^^^^^^^^^
Kernel modules: nvidia.ko
/lib/modules/5.7.0-3-amd64/updates/dkms/nvidia-legacy-340xx-uvm.ko
/lib/modules/5.7.0-3-amd64/updates/dkms/nvidia-legacy-340xx.ko
filename: /lib/modules/5.7.0-3-amd64/updates/dkms/nvidia-legacy-340xx-
uvm.ko
supported: external
license: MIT
depends: nvidia
retpoline: Y
name: nvidia_uvm
vermagic: 5.7.0-3-amd64 SMP mod_unload modversions
filename: /lib/modules/5.7.0-3-amd64/updates/dkms/nvidia-legacy-340xx.ko
alias: char-major-195-*
version: 340.108
supported: external
license: NVIDIA
alias: pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias: pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*
alias: pci:v000010DEd*sv*sd*bc03sc02i00*
alias: pci:v000010DEd*sv*sd*bc03sc00i00*
depends: drm
retpoline: Y
name: nvidia
vermagic: 5.7.0-3-amd64 SMP mod_unload modversions
lsmod:
Module Size Used by
btrfs 1511424 0
blake2b_generic 20480 0
xor 24576 1 btrfs
zstd_compress 188416 1 btrfs
raid6_pq 122880 1 btrfs
zstd_decompress 90112 1 btrfs
ufs 94208 0
qnx4 16384 0
hfsplus 122880 0
hfs 73728 0
minix 45056 0
vfat 20480 0
msdos 20480 0
fat 86016 2 msdos,vfat
jfs 212992 0
xfs 1548288 0
libcrc32c 16384 2 btrfs,xfs
dm_mod 163840 0
cpuid 16384 0
fuse 139264 2
cpufreq_conservative 16384 0
cpufreq_powersave 20480 2
cpufreq_userspace 20480 0
sr_mod 28672 0
cdrom 73728 1 sr_mod
ata_generic 16384 0
snd_hda_codec_realtek 139264 1
snd_hda_codec_generic 94208 1 snd_hda_codec_realtek
iTCO_wdt 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
snd_hda_codec_hdmi 73728 4
watchdog 28672 1 iTCO_wdt
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_intel 57344 0
snd_intel_dspcfg 24576 1 snd_hda_intel
pcspkr 16384 0
snd_hda_codec 163840 4
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
i2c_i801 32768 0
r8169 90112 0
sg 36864 0
snd_hda_core 106496 5
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
realtek 24576 1
snd_hwdep 16384 1 snd_hda_codec
lpc_ich 28672 0
mfd_core 20480 1 lpc_ich
snd_pcm 131072 4
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
joydev 28672 0
libphy 147456 2 r8169,realtek
pata_jmicron 16384 0
snd_timer 45056 1 snd_pcm
ehci_pci 20480 0
snd 106496 8
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
soundcore 16384 1 snd
button 24576 0
acpi_cpufreq 28672 0
nvidia 10608640 29
it87 65536 0
hwmon_vid 16384 1 it87
drm 606208 3 nvidia
coretemp 20480 0
ip_tables 32768 0
x_tables 53248 1 ip_tables
autofs4 53248 2
ext4 778240 1
crc16 16384 1 ext4
mbcache 16384 1 ext4
jbd2 139264 1 ext4
crc32c_generic 16384 3
sd_mod 57344 4
t10_pi 16384 1 sd_mod
crc_t10dif 20480 1 t10_pi
crct10dif_generic 16384 1
crct10dif_common 16384 2 crct10dif_generic,crc_t10dif
hid_generic 16384 0
usbhid 65536 0
hid 147456 2 usbhid,hid_generic
uhci_hcd 53248 0
ehci_hcd 98304 1 ehci_pci
ahci 40960 4
libahci 45056 1 ahci
libata 286720 4 libahci,ahci,ata_generic,pata_jmicron
usbcore 315392 4 ehci_pci,usbhid,ehci_hcd,uhci_hcd
evdev 28672 13
scsi_mod 258048 4 sd_mod,libata,sg,sr_mod
serio_raw 20480 0
usb_common 16384 3 usbcore,ehci_hcd,uhci_hcd
xrandr:
Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 8192 x 8192
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected 1280x1024+0+0 (normal left inverted right x axis y axis)
338mm x 270mm
1280x1024 60.02*+
1024x768 60.00
800x600 60.32
640x480 59.94
HDMI-0 disconnected (normal left inverted right x axis y axis)
OpenCL ICDs:
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.7.0-3-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages nvidia-legacy-340xx-driver depends on:
ii nvidia-installer-cleanup 20151021+12
ii nvidia-legacy-340xx-alternative 340.108-6
ii nvidia-legacy-340xx-driver-bin 340.108-6
ii nvidia-legacy-340xx-driver-libs 340.108-6
ii nvidia-legacy-340xx-kernel-dkms [nvidia-legacy-340xx-kernel-34 340.108-6
ii nvidia-legacy-340xx-vdpau-driver 340.108-6
ii nvidia-support 20151021+12
ii xserver-xorg-video-nvidia-legacy-340xx 340.108-6
Versions of packages nvidia-legacy-340xx-driver recommends:
pn nvidia-persistenced <none>
ii nvidia-settings-legacy-340xx 340.108-3
Versions of packages nvidia-legacy-340xx-driver suggests:
ii nvidia-legacy-340xx-kernel-dkms 340.108-6
Versions of packages nvidia-legacy-340xx-driver-libs:amd64 depends on:
ii libegl1-nvidia-legacy-340xx 340.108-6
ii libgl1-nvidia-legacy-340xx-glx 340.108-6
Versions of packages nvidia-legacy-340xx-driver-libs:amd64 recommends:
pn libgles1-nvidia-legacy-340xx <none>
pn libgles2-nvidia-legacy-340xx <none>
pn libnvidia-legacy-340xx-cfg1 <none>
pn nvidia-legacy-340xx-driver-libs-i386 <none>
Versions of packages libgl1-nvidia-legacy-340xx-glx:amd64 depends on:
ii libc6 2.31-3
ii libnvidia-legacy-340xx-glcore 340.108-6
ii libx11-6 2:1.6.10-3
ii libxext6 2:1.3.3-1+b2
ii nvidia-installer-cleanup 20151021+12
ii nvidia-legacy-340xx-alternative 340.108-6
ii nvidia-support 20151021+12
Versions of packages libgl1-nvidia-legacy-340xx-glx:amd64 recommends:
ii nvidia-legacy-340xx-kernel-dkms [nvidia-legacy-340xx-kernel-340. 340.108-6
Versions of packages libgl1-nvidia-legacy-340xx-glx:amd64 suggests:
ii nvidia-legacy-340xx-kernel-dkms 340.108-6
Versions of packages xserver-xorg-video-nvidia-legacy-340xx depends on:
ii libc6 2.31-3
ii libnvidia-legacy-340xx-glcore 340.108-6
ii nvidia-installer-cleanup 20151021+12
ii nvidia-legacy-340xx-alternative 340.108-6
ii nvidia-support 20151021+12
ii xserver-xorg-core [xorg-video-abi-24] 2:1.20.8-2
Versions of packages xserver-xorg-video-nvidia-legacy-340xx recommends:
ii nvidia-legacy-340xx-kernel-dkms [nvidia-legacy-340xx-kernel-340. 340.108-6
ii nvidia-legacy-340xx-vdpau-driver 340.108-6
ii nvidia-settings-legacy-340xx 340.108-3
Versions of packages xserver-xorg-video-nvidia-legacy-340xx suggests:
ii nvidia-legacy-340xx-kernel-dkms 340.108-6
Versions of packages nvidia-legacy-340xx-alternative depends on:
ii dpkg 1.20.5
ii glx-alternative-nvidia 1.2.0
Versions of packages nvidia-legacy-340xx-kernel-dkms depends on:
ii dkms 2.8.3-4
ii nvidia-installer-cleanup 20151021+12
ii nvidia-legacy-340xx-kernel-support [nvidia-legacy-340xx-kernel 340.108-6
nvidia-legacy-340xx-kernel-dkms recommends no packages.
Versions of packages glx-alternative-nvidia depends on:
ii dpkg 1.20.5
ii glx-alternative-mesa 1.2.0
ii glx-diversions 1.2.0
ii update-glx 1.2.0
Versions of packages glx-alternative-nvidia suggests:
pn nvidia-driver | nvidia-driver-any <none>
Versions of packages nvidia-legacy-340xx-driver is related to:
pn bumblebee <none>
pn bumblebee-nvidia <none>
pn ccache <none>
pn libcuda1 <none>
pn libcuda1-any <none>
pn libdrm-nouveau1 <none>
pn libdrm-nouveau1a <none>
ii libdrm-nouveau2 2.4.102-1
ii libegl1 1.3.2-1
ii libgl1 1.3.2-1
ii libgl1-nvidia-legacy-340xx-glx [libgl1-nvidia-glx-any] 340.108-6
pn libgles1 <none>
pn libgles2 <none>
pn linux-headers <none>
ii make 4.3-4
pn nvidia-glx-legacy-340xx <none>
ii nvidia-kernel-common 20151021+12
ii nvidia-legacy-340xx-driver [nvidia-glx-any] 340.108-6
ii nvidia-legacy-340xx-kernel-dkms 340.108-6
pn nvidia-legacy-340xx-kernel-source <none>
ii nvidia-legacy-340xx-kernel-support [nvidia-kernel-support-any] 340.108-6
ii nvidia-modprobe 450.57-1
pn nvidia-settings <none>
ii nvidia-support 20151021+12
pn nvidia-xconfig <none>
ii ocl-icd-libopencl1 [libopencl1] 2.2.12-4
pn opencl-icd <none>
ii xserver-xorg 1:7.7+20
ii xserver-xorg-core 2:1.20.8-2
pn xserver-xorg-legacy <none>
ii xserver-xorg-video-nouveau 1:1.0.16-1
ii xserver-xorg-video-nvidia-legacy-340xx [xserver-xorg-video-nvi 340.108-6
-- no debconf information
-------------- next part --------------
DKMS make.log for nvidia-legacy-340xx-340.108 for kernel 5.8.0-trunk-amd64 (x86_64)
Thu 27 Aug 2020 05:36:03 PM EEST
NVIDIA: calling KBUILD...
make NV_MODULE_SUFFIX= KBUILD_OUTPUT=/lib/modules/5.8.0-trunk-amd64/build KERNEL_SOURCES=/lib/modules/5.8.0-trunk-amd64/source KERNEL_OUTPUT=/lib/modules/5.8.0-trunk-amd64/build KBUILD_VERBOSE=1 -C /lib/modules/5.8.0-trunk-amd64/source M=/var/lib/dkms/nvidia-legacy-340xx/340.108/build ARCH=x86_64 modules
make[1]: Entering directory '/usr/src/linux-headers-5.8.0-trunk-common'
make -C /usr/src/linux-headers-5.8.0-trunk-amd64 -f /usr/src/linux-headers-5.8.0-trunk-common/Makefile modules
make[2]: Entering directory '/usr/src/linux-headers-5.8.0-trunk-amd64'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
make -f /usr/src/linux-headers-5.8.0-trunk-common/scripts/Makefile.build obj=/var/lib/dkms/nvidia-legacy-340xx/340.108/build \
single-build= \
need-builtin=1 need-modorder=1
CONFTEST=/bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-10" " gcc-10" x86_64 /lib/modules/5.8.0-trunk-amd64/source /lib/modules/5.8.0-trunk-amd64/build
echo \#define NV_COMPILER \"` gcc-10 -v 2>&1 | tail -n 1`\" > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv_compiler.h
CONFTEST_CFLAGS=
KBUILD_CFLAGS=-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned
LINUXINCLUDE=-I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h
LDFLAGS=
ARCH=x86_64
for SANITY_CHECK in rivafb_sanity_check nvidiafb_sanity_check dom0_sanity_check xen_sanity_check preempt_rt_sanity_check; do \
echo " CONFTEST: $SANITY_CHECK"; \
if ! /bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-10" " gcc-10" x86_64 /lib/modules/5.8.0-trunk-amd64/source /lib/modules/5.8.0-trunk-amd64/build $SANITY_CHECK full_output; then \
exit 1; \
fi; \
done
cat /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-kernel-amd64.o_shipped > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-kernel-amd64.o
CONFTEST: rivafb_sanity_check
CONFTEST: compile_tests
if ! /bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-10" " gcc-10" x86_64 /lib/modules/5.8.0-trunk-amd64/source /lib/modules/5.8.0-trunk-amd64/build compile_tests timeval proc_ops remap_pfn_range vmap set_pages_uc set_memory_uc set_memory_array_uc change_page_attr i2c_adapter pci_get_class pm_message_t irq_handler_t pci_choose_state vm_insert_page acpi_device_ops acpi_op_remove acpi_device_id acquire_console_sem console_lock kmem_cache_create outer_flush_all on_each_cpu smp_call_function nvmap_support acpi_evaluate_integer ioremap_cache ioremap_wc proc_dir_entry INIT_WORK acpi_walk_namespace scatterlist pci_domain_nr pci_dma_mapping_error file_operations sg_alloc_table sg_init_table pci_get_domain_bus_and_slot get_num_physpages efi_enabled dom0_kernel_present drm_available proc_create_data pde_data proc_remove sg_table pm_vt_switch_required pci_save_state file_inode drm_pci_set_busid write_cr4 for_each_online_node node_end_pfn get_user_pages get_user_pages_remote register_cpu_notifier cpuhp_setup_state vm_fault_present vm_fault_has_address drm_driver_unload_has_int_return_type drm_legacy_pci_init timer_setup do_gettimeofday drm_gem_object_put_unlocked drm_driver_legacy_feature_bit_present drm_driver_prime_flag_present; then exit 1; fi
CONFTEST: nvidiafb_sanity_check
conftest.sh: CC= gcc-10
conftest.sh: CFLAGS=-O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest7658" -DKBUILD_MODNAME="#conftest7658" -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/lib/modules/5.8.0-trunk-amd64/source/include/asm-x86_64/mach-default -I/lib/modules/5.8.0-trunk-amd64/source/include/asm-x86/mach-default -I/lib/modules/5.8.0-trunk-amd64/source/arch/x86/include/asm/mach-default -I/lib/modules/5.8.0-trunk-amd64/source/include/arch/x86/include/uapi -I/lib/modules/5.8.0-trunk-amd64/build/include2 -I/lib/modules/5.8.0-trunk-amd64/build/include -include /lib/modules/5.8.0-trunk-amd64/build/include/generated/autoconf.h -I/lib/modules/5.8.0-trunk-amd64/source/include -I/lib/modules/5.8.0-trunk-amd64/source/include/uapi -I/lib/modules/5.8.0-trunk-amd64/build/include/generated/uapi -I/lib/modules/5.8.0-trunk-amd64/source/arch/x86/include -I/lib/modules/5.8.0-trunk-amd64/source/arch/x86/include/uapi -I/lib/modules/5.8.0-trunk-amd64/build/arch/x86/include/generated -I/lib/modules/5.8.0-trunk-amd64/build/arch/x86/include/generated/uapi -Wall -Wundef -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned
conftest.sh: KBUILD_CFLAGS=-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned
conftest.sh: ARCH=x86_64
CONFTEST: dom0_sanity_check
CONFTEST: xen_sanity_check
CONFTEST: preempt_rt_sanity_check
CONFTEST: patch_check
if ! /bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-10" " gcc-10" x86_64 /lib/modules/5.8.0-trunk-amd64/source /lib/modules/5.8.0-trunk-amd64/build patch_check; then exit 1; fi
CONFTEST patches.h:
static struct {
const char *short_description;
const char *description;
} __nv_patches[] = {
{ NULL, NULL } };
CONFTEST conftest.h:
CONFTEST macros.h:
#include "conftest/macros.h"
#include "conftest/functions.h"
#include "conftest/symbols.h"
#include "conftest/types.h"
#include "conftest/generic.h"
#include "conftest/headers.h"
#define NV_INIT_WORK_PRESENT
#define NV_INIT_WORK_ARGUMENT_COUNT 2
CONFTEST functions.h:
CONFTEST symbols.h:
#define NV_REMAP_PFN_RANGE_PRESENT
#define NV_VMAP_PRESENT
#define NV_VMAP_ARGUMENT_COUNT 4
#define NV_SET_PAGES_UC_PRESENT
#define NV_SET_MEMORY_UC_PRESENT
#undef NV_SET_MEMORY_ARRAY_UC_PRESENT
#undef NV_CHANGE_PAGE_ATTR_PRESENT
#define NV_PCI_GET_CLASS_PRESENT
#define NV_PCI_CHOOSE_STATE_PRESENT
#define NV_VM_INSERT_PAGE_PRESENT
#undef NV_ACQUIRE_CONSOLE_SEM_PRESENT
#define NV_CONSOLE_LOCK_PRESENT
#define NV_KMEM_CACHE_CREATE_PRESENT
#define NV_KMEM_CACHE_CREATE_ARGUMENT_COUNT 5
#define NV_ON_EACH_CPU_PRESENT
#define NV_ON_EACH_CPU_ARGUMENT_COUNT 3
#define NV_SMP_CALL_FUNCTION_PRESENT
#define NV_SMP_CALL_FUNCTION_ARGUMENT_COUNT 3
#define NV_ACPI_EVALUATE_INTEGER_PRESENT
typedef unsigned long long nv_acpi_integer_t;
#define NV_IOREMAP_CACHE_PRESENT
#define NV_IOREMAP_WC_PRESENT
#define NV_ACPI_WALK_NAMESPACE_PRESENT
#define NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT 7
#define NV_PCI_DOMAIN_NR_PRESENT
#define NV_PCI_DMA_MAPPING_ERROR_PRESENT
#define NV_PCI_DMA_MAPPING_ERROR_ARGUMENT_COUNT 2
#define NV_SG_ALLOC_TABLE_PRESENT
#define NV_SG_ALLOC_TABLE_FROM_PAGES_PRESENT
#define NV_SG_INIT_TABLE_PRESENT
#define NV_PCI_GET_DOMAIN_BUS_AND_SLOT_PRESENT
#define NV_GET_NUM_PHYSPAGES_PRESENT
#define NV_EFI_ENABLED_PRESENT
#define NV_EFI_ENABLED_ARGUMENT_COUNT 1
#define NV_PROC_CREATE_DATA_PRESENT
#define NV_PDE_DATA_PRESENT
#define NV_PROC_REMOVE_PRESENT
#define NV_PM_VT_SWITCH_REQUIRED_PRESENT
#define NV_PCI_SAVE_STATE_ARGUMENT_COUNT 1
#undef NV_DRM_PCI_SET_BUSID_PRESENT
#undef NV_WRITE_CR4_PRESENT
#define NV_FOR_EACH_ONLINE_NODE_PRESENT
#define NV_NODE_END_PFN_PRESENT
#undef NV_GET_USER_PAGES_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_HAS_TASK_STRUCT
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#define NV_GET_USER_PAGES_REMOTE_HAS_LOCKED_ARG
#undef NV_GET_USER_PAGES_REMOTE_HAS_WRITE_AND_FORCE_ARGS
#undef NV_REGISTER_CPU_NOTIFIER_PRESENT
#define NV_CPUHP_SETUP_STATE_PRESENT
#define NV_DRM_LEGACY_PCI_INIT_PRESENT
#define NV_TIMER_SETUP_PRESENT
#undef NV_DO_GETTIMEOFDAY_PRESENT
#define NV_DRM_GEM_OBJECT_PUT_UNLOCKED_PRESENT
CONFTEST types.h:
CONFTEST generic.h:
#undef NV_TIMEVAL_PRESENT
#define NV_PROC_OPS_PRESENT
#undef NV_I2C_ADAPTER_HAS_CLIENT_REGISTER
#define NV_PM_MESSAGE_T_PRESENT
#define NV_PM_MESSAGE_T_HAS_EVENT
#define NV_IRQ_HANDLER_T_PRESENT
#define NV_IRQ_HANDLER_T_ARGUMENT_COUNT 2
#undef NV_ACPI_DEVICE_OPS_HAS_MATCH
#define NV_ACPI_DEVICE_OPS_REMOVE_ARGUMENT_COUNT 1
#define NV_ACPI_DEVICE_ID_HAS_DRIVER_DATA
#undef NV_OUTER_FLUSH_ALL_PRESENT
#undef NV_PROC_DIR_ENTRY_HAS_OWNER
#define NV_SCATTERLIST_HAS_PAGE_LINK
#undef NV_FILE_OPERATIONS_HAS_IOCTL
#define NV_FILE_OPERATIONS_HAS_UNLOCKED_IOCTL
#define NV_FILE_OPERATIONS_HAS_COMPAT_IOCTL
#define NV_SG_TABLE_PRESENT
#define NV_FILE_HAS_INODE
#define NV_VM_FAULT_PRESENT
#define NV_VM_FAULT_HAS_ADDRESS
#undef NV_DRM_DRIVER_UNLOAD_HAS_INT_RETURN_TYPE
#define NV_DRM_DRIVER_LEGACY_FEATURE_BIT_PRESENT
#undef NV_DRM_DRIVER_PRIME_FLAG_PRESENT
#undef HAVE_NV_ANDROID
#undef NV_DOM0_KERNEL_PRESENT
#define NV_DRM_AVAILABLE
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-acpi.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-acpi.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-acpi.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.o
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-chrdev.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-chrdev.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-chrdev.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-chrdev.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-chrdev.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-cray.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-cray.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-cray.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-cray.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-cray.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_drm"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-dma.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-dma.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-dma.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-dma.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-dma.ver; fi
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_drm"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-drm.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-drm.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-drm.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-drm.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-drm.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-gvi.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-gvi.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-gvi.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-gvi.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-gvi.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mempool"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-i2c.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-i2c.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-i2c.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-i2c.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-i2c.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mempool"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mempool.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mempool.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mempool.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mempool.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mempool.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c: In function ‘nv_encode_caching’:
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:199:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
199 | if (NV_ALLOW_CACHING(memory_type))
| ^
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:201:9: note: here
201 | default:
| ^~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mmap.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mmap.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mmap.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mmap.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mmap.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-p2p.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-p2p.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-p2p.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-p2p.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-p2p.ver; fi
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-procfs.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_procfs"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-pat.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-pat.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-pat.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-pat.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-pat.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_usermap"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.o
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.o: warning: objtool: .text.unlikely: unexpected end of section
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-procfs.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_procfs"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-procfs.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-procfs.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-procfs.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-procfs.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-procfs.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_vm"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c:14:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_usermap"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-usermap.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-usermap.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-usermap.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-usermap.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-usermap.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-vtophys.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_vtophys"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c:14:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c:14:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c:14:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c:14:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c:14:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c:14:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-vtophys.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_vtophys"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vtophys.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vtophys.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vtophys.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vtophys.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vtophys.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_interface"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_vm"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vm.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vm.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vm.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vm.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vm.ver; fi
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.os-mlock.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_mlock"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c: In function ‘os_alloc_mem’:
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:685:17: error: too many arguments to function ‘__vmalloc’
685 | (ptr) = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL); \
| ^~~~~~~~~
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:405:13: note: in expansion of macro ‘NV_VMALLOC’
405 | NV_VMALLOC(*address, alloc_size);
| ^~~~~~~~~~
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:100,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmalloc.h:111:14: note: declared here
111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
| ^~~~~~~~~
make[3]: *** [/usr/src/linux-headers-5.8.0-trunk-common/scripts/Makefile.build:286: /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c: In function ‘os_lock_user_pages’:
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:47:20: error: ‘struct mm_struct’ has no member named ‘mmap_sem’; did you mean ‘mmap_base’?
47 | down_read(&mm->mmap_sem);
| ^~~~~~~~
| mmap_base
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:50:18: error: ‘struct mm_struct’ has no member named ‘mmap_sem’; did you mean ‘mmap_base’?
50 | up_read(&mm->mmap_sem);
| ^~~~~~~~
| mmap_base
make[3]: *** [/usr/src/linux-headers-5.8.0-trunk-common/scripts/Makefile.build:286: /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.8.0-trunk-common/Makefile:1768: /var/lib/dkms/nvidia-legacy-340xx/340.108/build] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.8.0-trunk-amd64'
make[1]: *** [Makefile:185: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-trunk-common'
make: *** [Makefile:207: nvidia.ko] Error 2
make: Entering directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build/uvm'
cd ./..; make module SYSSRC=/lib/modules/5.8.0-trunk-amd64/source SYSOUT=/lib/modules/5.8.0-trunk-amd64/build KBUILD_EXTMOD=./..
make[1]: Entering directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build'
NVIDIA: calling KBUILD...
make NV_MODULE_SUFFIX= KBUILD_OUTPUT=/lib/modules/5.8.0-trunk-amd64/build KERNEL_SOURCES=/lib/modules/5.8.0-trunk-amd64/source KERNEL_OUTPUT=/lib/modules/5.8.0-trunk-amd64/build KBUILD_VERBOSE=1 -C /lib/modules/5.8.0-trunk-amd64/source M=/var/lib/dkms/nvidia-legacy-340xx/340.108/build ARCH=x86_64 modules
make[2]: Entering directory '/usr/src/linux-headers-5.8.0-trunk-common'
make -C /usr/src/linux-headers-5.8.0-trunk-amd64 -f /usr/src/linux-headers-5.8.0-trunk-common/Makefile modules
make[3]: Entering directory '/usr/src/linux-headers-5.8.0-trunk-amd64'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
make -f /usr/src/linux-headers-5.8.0-trunk-common/scripts/Makefile.build obj=.. \
single-build= \
need-builtin=1 need-modorder=1
/usr/src/linux-headers-5.8.0-trunk-common/scripts/Makefile.build:44: /usr/src/linux-headers-5.8.0-trunk-common/../Makefile: No such file or directory
make[4]: *** No rule to make target '/usr/src/linux-headers-5.8.0-trunk-common/../Makefile'. Stop.
make[3]: *** [/usr/src/linux-headers-5.8.0-trunk-common/Makefile:1768: ..] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-5.8.0-trunk-amd64'
make[2]: *** [Makefile:185: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.8.0-trunk-common'
make[1]: *** [Makefile:207: nvidia.ko] Error 2
make[1]: Leaving directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build'
make: *** [Makefile:224: ../Module.symvers] Error 2
make: Leaving directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build/uvm'
-------------- next part --------------
DKMS make.log for nvidia-legacy-340xx-340.108 for kernel 5.8.0-trunk-amd64 (x86_64)
Thu 27 Aug 2020 05:36:03 PM EEST
NVIDIA: calling KBUILD...
make NV_MODULE_SUFFIX= KBUILD_OUTPUT=/lib/modules/5.8.0-trunk-amd64/build KERNEL_SOURCES=/lib/modules/5.8.0-trunk-amd64/source KERNEL_OUTPUT=/lib/modules/5.8.0-trunk-amd64/build KBUILD_VERBOSE=1 -C /lib/modules/5.8.0-trunk-amd64/source M=/var/lib/dkms/nvidia-legacy-340xx/340.108/build ARCH=x86_64 modules
make[1]: Entering directory '/usr/src/linux-headers-5.8.0-trunk-common'
make -C /usr/src/linux-headers-5.8.0-trunk-amd64 -f /usr/src/linux-headers-5.8.0-trunk-common/Makefile modules
make[2]: Entering directory '/usr/src/linux-headers-5.8.0-trunk-amd64'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
make -f /usr/src/linux-headers-5.8.0-trunk-common/scripts/Makefile.build obj=/var/lib/dkms/nvidia-legacy-340xx/340.108/build \
single-build= \
need-builtin=1 need-modorder=1
CONFTEST=/bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-10" " gcc-10" x86_64 /lib/modules/5.8.0-trunk-amd64/source /lib/modules/5.8.0-trunk-amd64/build
echo \#define NV_COMPILER \"` gcc-10 -v 2>&1 | tail -n 1`\" > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv_compiler.h
CONFTEST_CFLAGS=
KBUILD_CFLAGS=-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned
LINUXINCLUDE=-I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h
LDFLAGS=
ARCH=x86_64
for SANITY_CHECK in rivafb_sanity_check nvidiafb_sanity_check dom0_sanity_check xen_sanity_check preempt_rt_sanity_check; do \
echo " CONFTEST: $SANITY_CHECK"; \
if ! /bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-10" " gcc-10" x86_64 /lib/modules/5.8.0-trunk-amd64/source /lib/modules/5.8.0-trunk-amd64/build $SANITY_CHECK full_output; then \
exit 1; \
fi; \
done
cat /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-kernel-amd64.o_shipped > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-kernel-amd64.o
CONFTEST: rivafb_sanity_check
CONFTEST: compile_tests
if ! /bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-10" " gcc-10" x86_64 /lib/modules/5.8.0-trunk-amd64/source /lib/modules/5.8.0-trunk-amd64/build compile_tests timeval proc_ops remap_pfn_range vmap set_pages_uc set_memory_uc set_memory_array_uc change_page_attr i2c_adapter pci_get_class pm_message_t irq_handler_t pci_choose_state vm_insert_page acpi_device_ops acpi_op_remove acpi_device_id acquire_console_sem console_lock kmem_cache_create outer_flush_all on_each_cpu smp_call_function nvmap_support acpi_evaluate_integer ioremap_cache ioremap_wc proc_dir_entry INIT_WORK acpi_walk_namespace scatterlist pci_domain_nr pci_dma_mapping_error file_operations sg_alloc_table sg_init_table pci_get_domain_bus_and_slot get_num_physpages efi_enabled dom0_kernel_present drm_available proc_create_data pde_data proc_remove sg_table pm_vt_switch_required pci_save_state file_inode drm_pci_set_busid write_cr4 for_each_online_node node_end_pfn get_user_pages get_user_pages_remote register_cpu_notifier cpuhp_setup_state vm_fault_present vm_fault_has_address drm_driver_unload_has_int_return_type drm_legacy_pci_init timer_setup do_gettimeofday drm_gem_object_put_unlocked drm_driver_legacy_feature_bit_present drm_driver_prime_flag_present; then exit 1; fi
CONFTEST: nvidiafb_sanity_check
conftest.sh: CC= gcc-10
conftest.sh: CFLAGS=-O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest7658" -DKBUILD_MODNAME="#conftest7658" -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/lib/modules/5.8.0-trunk-amd64/source/include/asm-x86_64/mach-default -I/lib/modules/5.8.0-trunk-amd64/source/include/asm-x86/mach-default -I/lib/modules/5.8.0-trunk-amd64/source/arch/x86/include/asm/mach-default -I/lib/modules/5.8.0-trunk-amd64/source/include/arch/x86/include/uapi -I/lib/modules/5.8.0-trunk-amd64/build/include2 -I/lib/modules/5.8.0-trunk-amd64/build/include -include /lib/modules/5.8.0-trunk-amd64/build/include/generated/autoconf.h -I/lib/modules/5.8.0-trunk-amd64/source/include -I/lib/modules/5.8.0-trunk-amd64/source/include/uapi -I/lib/modules/5.8.0-trunk-amd64/build/include/generated/uapi -I/lib/modules/5.8.0-trunk-amd64/source/arch/x86/include -I/lib/modules/5.8.0-trunk-amd64/source/arch/x86/include/uapi -I/lib/modules/5.8.0-trunk-amd64/build/arch/x86/include/generated -I/lib/modules/5.8.0-trunk-amd64/build/arch/x86/include/generated/uapi -Wall -Wundef -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned
conftest.sh: KBUILD_CFLAGS=-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned
conftest.sh: ARCH=x86_64
CONFTEST: dom0_sanity_check
CONFTEST: xen_sanity_check
CONFTEST: preempt_rt_sanity_check
CONFTEST: patch_check
if ! /bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-10" " gcc-10" x86_64 /lib/modules/5.8.0-trunk-amd64/source /lib/modules/5.8.0-trunk-amd64/build patch_check; then exit 1; fi
CONFTEST patches.h:
static struct {
const char *short_description;
const char *description;
} __nv_patches[] = {
{ NULL, NULL } };
CONFTEST conftest.h:
CONFTEST macros.h:
#include "conftest/macros.h"
#include "conftest/functions.h"
#include "conftest/symbols.h"
#include "conftest/types.h"
#include "conftest/generic.h"
#include "conftest/headers.h"
#define NV_INIT_WORK_PRESENT
#define NV_INIT_WORK_ARGUMENT_COUNT 2
CONFTEST functions.h:
CONFTEST symbols.h:
#define NV_REMAP_PFN_RANGE_PRESENT
#define NV_VMAP_PRESENT
#define NV_VMAP_ARGUMENT_COUNT 4
#define NV_SET_PAGES_UC_PRESENT
#define NV_SET_MEMORY_UC_PRESENT
#undef NV_SET_MEMORY_ARRAY_UC_PRESENT
#undef NV_CHANGE_PAGE_ATTR_PRESENT
#define NV_PCI_GET_CLASS_PRESENT
#define NV_PCI_CHOOSE_STATE_PRESENT
#define NV_VM_INSERT_PAGE_PRESENT
#undef NV_ACQUIRE_CONSOLE_SEM_PRESENT
#define NV_CONSOLE_LOCK_PRESENT
#define NV_KMEM_CACHE_CREATE_PRESENT
#define NV_KMEM_CACHE_CREATE_ARGUMENT_COUNT 5
#define NV_ON_EACH_CPU_PRESENT
#define NV_ON_EACH_CPU_ARGUMENT_COUNT 3
#define NV_SMP_CALL_FUNCTION_PRESENT
#define NV_SMP_CALL_FUNCTION_ARGUMENT_COUNT 3
#define NV_ACPI_EVALUATE_INTEGER_PRESENT
typedef unsigned long long nv_acpi_integer_t;
#define NV_IOREMAP_CACHE_PRESENT
#define NV_IOREMAP_WC_PRESENT
#define NV_ACPI_WALK_NAMESPACE_PRESENT
#define NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT 7
#define NV_PCI_DOMAIN_NR_PRESENT
#define NV_PCI_DMA_MAPPING_ERROR_PRESENT
#define NV_PCI_DMA_MAPPING_ERROR_ARGUMENT_COUNT 2
#define NV_SG_ALLOC_TABLE_PRESENT
#define NV_SG_ALLOC_TABLE_FROM_PAGES_PRESENT
#define NV_SG_INIT_TABLE_PRESENT
#define NV_PCI_GET_DOMAIN_BUS_AND_SLOT_PRESENT
#define NV_GET_NUM_PHYSPAGES_PRESENT
#define NV_EFI_ENABLED_PRESENT
#define NV_EFI_ENABLED_ARGUMENT_COUNT 1
#define NV_PROC_CREATE_DATA_PRESENT
#define NV_PDE_DATA_PRESENT
#define NV_PROC_REMOVE_PRESENT
#define NV_PM_VT_SWITCH_REQUIRED_PRESENT
#define NV_PCI_SAVE_STATE_ARGUMENT_COUNT 1
#undef NV_DRM_PCI_SET_BUSID_PRESENT
#undef NV_WRITE_CR4_PRESENT
#define NV_FOR_EACH_ONLINE_NODE_PRESENT
#define NV_NODE_END_PFN_PRESENT
#undef NV_GET_USER_PAGES_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_HAS_TASK_STRUCT
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#define NV_GET_USER_PAGES_REMOTE_HAS_LOCKED_ARG
#undef NV_GET_USER_PAGES_REMOTE_HAS_WRITE_AND_FORCE_ARGS
#undef NV_REGISTER_CPU_NOTIFIER_PRESENT
#define NV_CPUHP_SETUP_STATE_PRESENT
#define NV_DRM_LEGACY_PCI_INIT_PRESENT
#define NV_TIMER_SETUP_PRESENT
#undef NV_DO_GETTIMEOFDAY_PRESENT
#define NV_DRM_GEM_OBJECT_PUT_UNLOCKED_PRESENT
CONFTEST types.h:
CONFTEST generic.h:
#undef NV_TIMEVAL_PRESENT
#define NV_PROC_OPS_PRESENT
#undef NV_I2C_ADAPTER_HAS_CLIENT_REGISTER
#define NV_PM_MESSAGE_T_PRESENT
#define NV_PM_MESSAGE_T_HAS_EVENT
#define NV_IRQ_HANDLER_T_PRESENT
#define NV_IRQ_HANDLER_T_ARGUMENT_COUNT 2
#undef NV_ACPI_DEVICE_OPS_HAS_MATCH
#define NV_ACPI_DEVICE_OPS_REMOVE_ARGUMENT_COUNT 1
#define NV_ACPI_DEVICE_ID_HAS_DRIVER_DATA
#undef NV_OUTER_FLUSH_ALL_PRESENT
#undef NV_PROC_DIR_ENTRY_HAS_OWNER
#define NV_SCATTERLIST_HAS_PAGE_LINK
#undef NV_FILE_OPERATIONS_HAS_IOCTL
#define NV_FILE_OPERATIONS_HAS_UNLOCKED_IOCTL
#define NV_FILE_OPERATIONS_HAS_COMPAT_IOCTL
#define NV_SG_TABLE_PRESENT
#define NV_FILE_HAS_INODE
#define NV_VM_FAULT_PRESENT
#define NV_VM_FAULT_HAS_ADDRESS
#undef NV_DRM_DRIVER_UNLOAD_HAS_INT_RETURN_TYPE
#define NV_DRM_DRIVER_LEGACY_FEATURE_BIT_PRESENT
#undef NV_DRM_DRIVER_PRIME_FLAG_PRESENT
#undef HAVE_NV_ANDROID
#undef NV_DOM0_KERNEL_PRESENT
#define NV_DRM_AVAILABLE
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-acpi.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-acpi.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-acpi.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.o
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-chrdev.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-chrdev.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-chrdev.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-chrdev.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-chrdev.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-cray.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-cray.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-cray.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-cray.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-cray.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_drm"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-dma.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-dma.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-dma.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-dma.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-dma.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-dma.ver; fi
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_drm"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-drm.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-drm.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-drm.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-drm.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-drm.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-drm.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-gvi.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-gvi.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-gvi.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-gvi.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-gvi.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-gvi.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mempool"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-i2c.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-i2c.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-i2c.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-i2c.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-i2c.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-i2c.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mempool"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mempool.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mempool.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mempool.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mempool.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mempool.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mempool.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c: In function ‘nv_encode_caching’:
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:199:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
199 | if (NV_ALLOW_CACHING(memory_type))
| ^
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c:201:9: note: here
201 | default:
| ^~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mmap.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mmap.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mmap.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mmap.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-mmap.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-mmap.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-p2p.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-p2p.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-p2p.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-p2p.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-p2p.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-p2p.ver; fi
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-procfs.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_procfs"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-pat.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-pat.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-pat.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-pat.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-pat.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-pat.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_usermap"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.o
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.o: warning: objtool: .text.unlikely: unexpected end of section
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-procfs.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_procfs"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-procfs.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-procfs.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-procfs.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-procfs.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-procfs.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-procfs.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_vm"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c:14:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_usermap"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-usermap.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-usermap.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-usermap.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-usermap.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-usermap.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-usermap.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-vtophys.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_vtophys"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c:14:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c:14:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c:14:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c:14:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c:14:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c:14:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-vtophys.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_vtophys"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vtophys.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vtophys.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vtophys.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vtophys.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vtophys.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vtophys.ver; fi
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_interface"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.o
if objdump -h /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.o | grep -q __ksymtab; then gcc-10 -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_vm"' -DKBUILD_MODNAME='"nvidia"' /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.c | scripts/genksyms/genksyms -r /dev/null > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vm.ver; ld.bfd -m elf_x86_64 -z max-page-size=0x200000 -r -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vm.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.o -T /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vm.ver; mv -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vm.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-vm.o; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.108/build/.tmp_nv-vm.ver; fi
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.os-mlock.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.8.0-trunk-common/include -I./include -I/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.8.0-trunk-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.8.0-trunk-common/= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_mlock"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/page-flags.h:202:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
202 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/mmzone.h:1020:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1020 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:231:3: note: in expansion of macro ‘this_cpu_add’
231 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-refcount.h:307:3: note: in expansion of macro ‘this_cpu_sub’
307 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c: In function ‘os_alloc_mem’:
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:685:17: error: too many arguments to function ‘__vmalloc’
685 | (ptr) = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL); \
| ^~~~~~~~~
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:405:13: note: in expansion of macro ‘NV_VMALLOC’
405 | NV_VMALLOC(*address, alloc_size);
| ^~~~~~~~~~
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:100,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmalloc.h:111:14: note: declared here
111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
| ^~~~~~~~~
make[3]: *** [/usr/src/linux-headers-5.8.0-trunk-common/scripts/Makefile.build:286: /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘__this_cpu_dec’
106 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
/usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
458 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘__this_cpu_dec’
118 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.8.0-trunk-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:164:2: note: in expansion of macro ‘for_each_online_cpu’
164 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/vmstat.h:229:2: note: in expansion of macro ‘for_each_online_cpu’
229 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-trunk-common/include/linux/efi.h:20,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:178,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:15:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:232:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
232 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
/usr/src/linux-headers-5.8.0-trunk-common/include/linux/rtc.h:237:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
237 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c: In function ‘os_lock_user_pages’:
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:47:20: error: ‘struct mm_struct’ has no member named ‘mmap_sem’; did you mean ‘mmap_base’?
47 | down_read(&mm->mmap_sem);
| ^~~~~~~~
| mmap_base
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.c:50:18: error: ‘struct mm_struct’ has no member named ‘mmap_sem’; did you mean ‘mmap_base’?
50 | up_read(&mm->mmap_sem);
| ^~~~~~~~
| mmap_base
make[3]: *** [/usr/src/linux-headers-5.8.0-trunk-common/scripts/Makefile.build:286: /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-mlock.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.8.0-trunk-common/Makefile:1768: /var/lib/dkms/nvidia-legacy-340xx/340.108/build] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.8.0-trunk-amd64'
make[1]: *** [Makefile:185: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-trunk-common'
make: *** [Makefile:207: nvidia.ko] Error 2
make: Entering directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build/uvm'
cd ./..; make module SYSSRC=/lib/modules/5.8.0-trunk-amd64/source SYSOUT=/lib/modules/5.8.0-trunk-amd64/build KBUILD_EXTMOD=./..
make[1]: Entering directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build'
NVIDIA: calling KBUILD...
make NV_MODULE_SUFFIX= KBUILD_OUTPUT=/lib/modules/5.8.0-trunk-amd64/build KERNEL_SOURCES=/lib/modules/5.8.0-trunk-amd64/source KERNEL_OUTPUT=/lib/modules/5.8.0-trunk-amd64/build KBUILD_VERBOSE=1 -C /lib/modules/5.8.0-trunk-amd64/source M=/var/lib/dkms/nvidia-legacy-340xx/340.108/build ARCH=x86_64 modules
make[2]: Entering directory '/usr/src/linux-headers-5.8.0-trunk-common'
make -C /usr/src/linux-headers-5.8.0-trunk-amd64 -f /usr/src/linux-headers-5.8.0-trunk-common/Makefile modules
make[3]: Entering directory '/usr/src/linux-headers-5.8.0-trunk-amd64'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
make -f /usr/src/linux-headers-5.8.0-trunk-common/scripts/Makefile.build obj=.. \
single-build= \
need-builtin=1 need-modorder=1
/usr/src/linux-headers-5.8.0-trunk-common/scripts/Makefile.build:44: /usr/src/linux-headers-5.8.0-trunk-common/../Makefile: No such file or directory
make[4]: *** No rule to make target '/usr/src/linux-headers-5.8.0-trunk-common/../Makefile'. Stop.
make[3]: *** [/usr/src/linux-headers-5.8.0-trunk-common/Makefile:1768: ..] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-5.8.0-trunk-amd64'
make[2]: *** [Makefile:185: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.8.0-trunk-common'
make[1]: *** [Makefile:207: nvidia.ko] Error 2
make[1]: Leaving directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build'
make: *** [Makefile:224: ../Module.symvers] Error 2
make: Leaving directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build/uvm'
More information about the pkg-nvidia-devel
mailing list