Bug#887651: nvidia-legacy-304xx-kernel-dkms: Error! Bad return status for module build on kernel: 4.9.0-5-amd64 (i686)

Harri Suutari hsuutari at gmx.com
Thu Jan 18 17:58:04 UTC 2018


Package: nvidia-legacy-304xx-kernel-dkms
Version: 304.137-3~bpo9+1
Severity: normal
Tags: upstream

Dear Maintainer,

I have Debian Stretch i386 desktop to which I'd like to install a 64-bit
kernel. So:

# dpkg --print-architecture
i386
# dpkg --add-architecture amd64
# dpkg --print-foreign-architectures
amd64
# apt-get update
# apt-get install linux-image-amd64 linux-headers-4.9.0-5-amd64

...

/etc/kernel/postinst.d/dkms:
Error! Bad return status for module build on kernel: 4.9.0-5-amd64 (i686)
Consult /var/lib/dkms/nvidia-legacy-304xx/304.137/build/make.log for more
information.

...

Upgrading the nvidia-legacy-304xx-driver and the linux-image-amd64 to the
current Backports versions does not help. (i.e. to kernel 4.14+89~bpo9+1)

Regards,
Harri



-- Package-specific info:
uname -a:
Linux kallio 4.9.0-5-686-pae #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04) i686
GNU/Linux

/proc/version:
Linux version 4.9.0-5-686-pae (debian-kernel at lists.debian.org) (gcc version
6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04)

/proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86 Kernel Module  304.137  Thu Sep 14 12:49:20 PDT
2017
GCC version:  gcc version 6.3.0 20170516 (Debian 6.3.0-18)

lspci 'display controller [030?]':
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G92 [GeForce GTS
250] [10de:0615] (rev a2) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. G92 [GeForce GTS 250] [1043:830b]
        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 16
        Region 0: Memory at f3000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at b0000000 (64-bit, prefetchable) [size=256M]
        Region 3: Memory at f0000000 (64-bit, non-prefetchable) [size=32M]
        Region 5: I/O ports at bc00 [size=128]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nvidia

06:00.0 VGA compatible controller [0300]: NVIDIA Corporation G72 [GeForce 7200
GS / 7300 SE] [10de:01d3] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: NVIDIA Corporation G72 [GeForce 7200 GS / 7300 SE]
[10de:0411]
        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 16
        Region 0: Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Region 3: Memory at f5000000 (64-bit, non-prefetchable) [size=16M]
        [virtual] Expansion ROM at f7ee0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nvidia

dmesg:

Device node permissions:
crw-rw----+ 1 root video 226,   0 Jan 16 21:03 /dev/dri/card0
crw-rw----+ 1 root video 226,   1 Jan 16 21:03 /dev/dri/card1
crw-rw-rw-  1 root root  195,   0 Jan 16 21:04 /dev/nvidia0
crw-rw-rw-  1 root root  195,   1 Jan 16 21:04 /dev/nvidia1
crw-rw-rw-  1 root root  195, 255 Jan 16 21:04 /dev/nvidiactl
video:x:44:harri,vdr,hennamari,aaron,foobar

OpenGL and NVIDIA library files installed:
-rw-r--r-- 1 root root     5809 Oct 31 21:53 /etc/X11/xorg.conf
-rw-r--r-- 1 root root     2305 Jun 14  2011 /etc/X11/xorg_SingleXScreen.conf
-rw-r--r-- 1 root root     3612 Jan 14  2008 /etc/X11/xorg_mythtv.conf
lrwxrwxrwx 1 root root       15 Oct 31 21:25 /etc/alternatives/glx ->
/usr/lib/nvidia
lrwxrwxrwx 1 root root       49 Oct 31 21:25 /etc/alternatives/glx--
libEGL.so.1-i386-linux-gnu -> /usr/lib/mesa-diverted/i386-linux-gnu/libEGL.so.1
lrwxrwxrwx 1 root root       41 Oct 31 21:25 /etc/alternatives/glx--
libGL.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root       41 Oct 31 21:25 /etc/alternatives/glx--
libGL.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root       52 Oct 31 21:25 /etc/alternatives/glx--
libGLESv2.so.2-i386-linux-gnu -> /usr/lib/mesa-diverted/i386-linux-
gnu/libGLESv2.so.2
lrwxrwxrwx 1 root root       52 Oct 31 21:25 /etc/alternatives/glx--
libGLESv2.so.2-i386-linux-gnu -> /usr/lib/mesa-diverted/i386-linux-
gnu/libGLESv2.so.2
lrwxrwxrwx 1 root root       49 Oct 31 21:25 /etc/alternatives/glx--
libXvMCNVIDIA.so.1-i386-linux-gnu -> /usr/lib/i386-linux-
gnu/nvidia/libXvMCNVIDIA.so.1
lrwxrwxrwx 1 root root       57 Oct 31 21:25 /etc/alternatives/glx--
libXvMCNVIDIA_dynamic.so.1-i386-linux-gnu -> /usr/lib/i386-linux-
gnu/nvidia/libXvMCNVIDIA_dynamic.so.1
lrwxrwxrwx 1 root root       25 Oct 31 21:25 /etc/alternatives/glx--linux-
libglx.so -> /usr/lib/nvidia/libglx.so
lrwxrwxrwx 1 root root       42 Oct 31 21:25 /etc/alternatives/glx--nvidia-
blacklists-nouveau.conf -> /etc/nvidia/nvidia-blacklists-nouveau.conf
lrwxrwxrwx 1 root root       36 Oct 31 21:25 /etc/alternatives/glx--nvidia-bug-
report.sh -> /usr/lib/nvidia/nvidia-bug-report.sh
lrwxrwxrwx 1 root root       39 Oct 31 21:25 /etc/alternatives/glx--nvidia-drm-
outputclass.conf -> /etc/nvidia/nvidia-drm-outputclass.conf
lrwxrwxrwx 1 root root       28 Oct 31 21:25 /etc/alternatives/glx--nvidia-
load.conf -> /etc/nvidia/nvidia-load.conf
lrwxrwxrwx 1 root root       32 Oct 31 21:25 /etc/alternatives/glx--nvidia-
modprobe.conf -> /etc/nvidia/nvidia-modprobe.conf
lrwxrwxrwx 1 root root       29 Oct 31 21:25 /etc/alternatives/glx--
nvidia_drv.so -> /usr/lib/nvidia/nvidia_drv.so
lrwxrwxrwx 1 root root       28 Oct 31 21:24 /etc/alternatives/nvidia ->
/usr/lib/nvidia/legacy-304xx
lrwxrwxrwx 1 root root       54 Oct 31 21:24 /etc/alternatives/nvidia--
libGL.so.1-i386-linux-gnu -> /usr/lib/i386-linux-
gnu/nvidia/legacy-304xx/libGL.so.1
lrwxrwxrwx 1 root root       54 Oct 31 21:24 /etc/alternatives/nvidia--
libGL.so.1-i386-linux-gnu -> /usr/lib/i386-linux-
gnu/nvidia/legacy-304xx/libGL.so.1
lrwxrwxrwx 1 root root       62 Oct 31 21:24 /etc/alternatives/nvidia--
libXvMCNVIDIA.so.1-i386-linux-gnu -> /usr/lib/i386-linux-
gnu/nvidia/legacy-304xx/libXvMCNVIDIA.so.1
lrwxrwxrwx 1 root root       70 Oct 31 21:24 /etc/alternatives/nvidia--
libXvMCNVIDIA_dynamic.so.1-i386-linux-gnu -> /usr/lib/i386-linux-
gnu/nvidia/legacy-304xx/libXvMCNVIDIA_dynamic.so.1
lrwxrwxrwx 1 root root       38 Oct 31 21:24 /etc/alternatives/nvidia--
libglx.so -> /usr/lib/nvidia/legacy-304xx/libglx.so
lrwxrwxrwx 1 root root       61 Oct 31 21:24 /etc/alternatives/nvidia--
libnvidia-ml.so.1-i386-linux-gnu -> /usr/lib/i386-linux-
gnu/nvidia/legacy-304xx/libnvidia-ml.so.1
lrwxrwxrwx 1 root root       64 Oct 31 21:24 /etc/alternatives/nvidia--
libvdpau_nvidia.so.1-i386-linux-gnu -> /usr/lib/i386-linux-
gnu/nvidia/legacy-304xx/libvdpau_nvidia.so.1
lrwxrwxrwx 1 root root       55 Oct 31 21:24 /etc/alternatives/nvidia--nvidia-
blacklists-nouveau.conf -> /etc/nvidia/legacy-304xx/nvidia-blacklists-
nouveau.conf
lrwxrwxrwx 1 root root       49 Oct 31 21:24 /etc/alternatives/nvidia--nvidia-
bug-report.sh -> /usr/lib/nvidia/legacy-304xx/nvidia-bug-report.sh
lrwxrwxrwx 1 root root       45 Oct 31 21:24 /etc/alternatives/nvidia--nvidia-
debugdump -> /usr/lib/nvidia/legacy-304xx/nvidia-debugdump
lrwxrwxrwx 1 root root       52 Oct 31 21:24 /etc/alternatives/nvidia--nvidia-
drm-outputclass.conf -> /etc/nvidia/legacy-304xx/nvidia-drm-outputclass.conf
lrwxrwxrwx 1 root root       41 Oct 31 21:24 /etc/alternatives/nvidia--nvidia-
load.conf -> /etc/nvidia/legacy-304xx/nvidia-load.conf
lrwxrwxrwx 1 root root       45 Oct 31 21:24 /etc/alternatives/nvidia--nvidia-
modprobe.conf -> /etc/nvidia/legacy-304xx/nvidia-modprobe.conf
lrwxrwxrwx 1 root root       42 Oct 31 21:24 /etc/alternatives/nvidia--
nvidia_drv.so -> /usr/lib/nvidia/legacy-304xx/nvidia_drv.so
lrwxrwxrwx 1 root root       49 Oct 31 21:23 /usr/lib/i386-linux-
gnu/libEGL.so.1 -> /etc/alternatives/glx--libEGL.so.1-i386-linux-gnu
lrwxrwxrwx 1 root root       48 Oct 31 21:23 /usr/lib/i386-linux-gnu/libGL.so.1
-> /etc/alternatives/glx--libGL.so.1-i386-linux-gnu
lrwxrwxrwx 1 root root       52 Oct 31 21:23 /usr/lib/i386-linux-
gnu/libGLESv2.so.2 -> /etc/alternatives/glx--libGLESv2.so.2-i386-linux-gnu
-rw-r--r-- 1 root root 30350356 Sep 14 23:12 /usr/lib/i386-linux-gnu/libnvidia-
glcore.so.304.137
lrwxrwxrwx 1 root root       58 Oct 31 21:23 /usr/lib/i386-linux-gnu/libnvidia-
ml.so.1 -> /etc/alternatives/nvidia--libnvidia-ml.so.1-i386-linux-gnu
-rw-r--r-- 1 root root    10060 Sep 14 23:16 /usr/lib/i386-linux-gnu/libnvidia-
tls.so.304.137
lrwxrwxrwx 1 root root       36 Oct 31 21:25
/usr/lib/xorg/modules/drivers/nvidia_drv.so -> /etc/alternatives/glx--
nvidia_drv.so
-rw-r--r-- 1 root root   307196 Oct 14 14:36
/usr/lib/xorg/modules/extensions/libglx.so
lrwxrwxrwx 1 root root       38 Oct 31 21:25
/usr/lib/xorg/modules/linux/libglx.so -> /etc/alternatives/glx--linux-libglx.so
-rw-r--r-- 1 root root    39848 Jan 17 18:41 /var/log/Xorg.0.log
-rw-r--r-- 1 root root     5445 Jan 16 20:53 /var/log/Xorg.0.log.old
-rw-r--r-- 1 root root    28121 Jan 16 21:04 /var/log/Xorg.1.log
-rw-r--r-- 1 root root     5445 Jan 16 20:52 /var/log/Xorg.1.log.old
-rw-r--r-- 1 root root    22119 Dec 30  2011 /var/log/Xorg.12.log
-rw-r--r-- 1 root root    28121 Jan 16 21:04 /var/log/Xorg.2.log
-rw-r--r-- 1 root root     5445 Jan 16 20:52 /var/log/Xorg.2.log.old
-rw-r--r-- 1 root root     5140 Jan 16 21:04 /var/log/Xorg.3.log
-rw-r--r-- 1 root root     5446 Jan 16 20:52 /var/log/Xorg.3.log.old
-rw-r--r-- 1 root root    28122 Jan 16 21:04 /var/log/Xorg.4.log
-rw-r--r-- 1 root root     9981 Jan 16 20:58 /var/log/Xorg.4.log.old
-rw-r--r-- 1 root root    22307 Jan 30  2012 /var/log/Xorg.5.log
-rw-r--r-- 1 root root    21539 Jan 30  2012 /var/log/Xorg.5.log.old
/etc/nvidia/:
total 28
drwxr-xr-x   3 root root  4096 Oct 31 21:24 .
drwxr-xr-x 207 root root 20480 Jan 18 17:50 ..
drwxr-xr-x   2 root root  4096 Jan 16 20:30 legacy-304xx
lrwxrwxrwx   1 root root    56 Oct 31 21:24 nvidia-blacklists-nouveau.conf ->
/etc/alternatives/nvidia--nvidia-blacklists-nouveau.conf
lrwxrwxrwx   1 root root    53 Oct 31 21:24 nvidia-drm-outputclass.conf ->
/etc/alternatives/nvidia--nvidia-drm-outputclass.conf
lrwxrwxrwx   1 root root    42 Oct 31 21:24 nvidia-load.conf ->
/etc/alternatives/nvidia--nvidia-load.conf
lrwxrwxrwx   1 root root    46 Oct 31 21:24 nvidia-modprobe.conf ->
/etc/alternatives/nvidia--nvidia-modprobe.conf

/usr/lib/i386-linux-gnu/nvidia/:
total 160
drwxr-xr-x   3 root root   4096 Oct 31 21:23 .
drwxr-xr-x 116 root root 147456 Jan 17 04:13 ..
drwxr-xr-x   2 root root   4096 Jan 16 20:30 legacy-304xx
lrwxrwxrwx   1 root root     51 Oct 31 21:23 libGL.so.1 ->
/etc/alternatives/nvidia--libGL.so.1-i386-linux-gnu
lrwxrwxrwx   1 root root     59 Oct 31 21:23 libXvMCNVIDIA.so.1 ->
/etc/alternatives/nvidia--libXvMCNVIDIA.so.1-i386-linux-gnu
lrwxrwxrwx   1 root root     67 Oct 31 21:23 libXvMCNVIDIA_dynamic.so.1 ->
/etc/alternatives/nvidia--libXvMCNVIDIA_dynamic.so.1-i386-linux-gnu

/usr/lib/i386-linux-gnu/nvidia/legacy-304xx/:
total 3212
drwxr-xr-x 2 root root    4096 Jan 16 20:30 .
drwxr-xr-x 3 root root    4096 Oct 31 21:23 ..
lrwxrwxrwx 1 root root      16 Nov 27 08:01 libGL.so.1 -> libGL.so.304.137
-rw-r--r-- 1 root root  833540 Sep 14 23:12 libGL.so.304.137
lrwxrwxrwx 1 root root      24 Nov 27 08:01 libXvMCNVIDIA.so.1 ->
libXvMCNVIDIA.so.304.137
-rw-r--r-- 1 root root  188404 Sep 14 22:56 libXvMCNVIDIA.so.304.137
lrwxrwxrwx 1 root root      24 Nov 27 08:01 libXvMCNVIDIA_dynamic.so.1 ->
libXvMCNVIDIA.so.304.137
lrwxrwxrwx 1 root root      17 Nov 27 08:01 libnvidia-ml.so -> libnvidia-
ml.so.1
lrwxrwxrwx 1 root root      23 Nov 27 08:01 libnvidia-ml.so.1 -> libnvidia-
ml.so.304.137
-rw-r--r-- 1 root root  388128 Sep 15 00:01 libnvidia-ml.so.304.137
lrwxrwxrwx 1 root root      26 Nov 27 08:01 libvdpau_nvidia.so.1 ->
libvdpau_nvidia.so.304.137
-rw-r--r-- 1 root root 1867288 Sep 14 23:16 libvdpau_nvidia.so.304.137

/usr/lib/mesa-diverted/:
total 52
drwxr-xr-x   5 root root  4096 Oct 31 21:23 .
drwxr-xr-x 169 root root 32768 Jan 16 21:47 ..
drwxr-xr-x   2 root root  4096 Oct  9  2016 arm-linux-gnueabihf
drwxr-xr-x   2 root root  4096 Oct 31 21:23 i386-linux-gnu
drwxr-xr-x   2 root root  4096 Oct  9  2016 x86_64-linux-gnu

/usr/lib/mesa-diverted/arm-linux-gnueabihf/:
total 8
drwxr-xr-x 2 root root 4096 Oct  9  2016 .
drwxr-xr-x 5 root root 4096 Oct 31 21:23 ..

/usr/lib/mesa-diverted/i386-linux-gnu/:
total 720
drwxr-xr-x 2 root root   4096 Oct 31 21:23 .
drwxr-xr-x 5 root root   4096 Oct 31 21:23 ..
lrwxrwxrwx 1 root root     15 Mar 21  2017 libEGL.so.1 -> libEGL.so.1.0.0
-rw-r--r-- 1 root root 232904 Mar 21  2017 libEGL.so.1.0.0
lrwxrwxrwx 1 root root     14 Mar 21  2017 libGL.so.1 -> libGL.so.1.2.0
-rw-r--r-- 1 root root 457224 Mar 21  2017 libGL.so.1.2.0
lrwxrwxrwx 1 root root     18 Mar 21  2017 libGLESv2.so.2 -> libGLESv2.so.2.0.0
-rw-r--r-- 1 root root  27536 Mar 21  2017 libGLESv2.so.2.0.0

/usr/lib/mesa-diverted/x86_64-linux-gnu/:
total 8
drwxr-xr-x 2 root root 4096 Oct  9  2016 .
drwxr-xr-x 5 root root 4096 Oct 31 21:23 ..

/usr/lib/mesa/:
total 40
drwxr-xr-x   2 root root  4096 Oct  9  2016 .
drwxr-xr-x 169 root root 32768 Jan 16 21:47 ..

/usr/lib/nvidia/:
total 64
drwxr-xr-x   4 root root  4096 Oct 31 21:23 .
drwxr-xr-x 169 root root 32768 Jan 16 21:47 ..
-rw-r--r--   1 root root    57 Feb 26  2016 alternate-install-present
drwxr-xr-x   2 root root  4096 Oct  9  2016 bumblebee
-rwxr-xr-x   1 root root  2125 Feb 26  2016 check-for-conflicting-opengl-
libraries
-rwxr-xr-x   1 root root  1897 Feb 26  2016 check-for-mismatching-nvidia-module
drwxr-xr-x   2 root root  4096 Jan 16 20:30 legacy-304xx
lrwxrwxrwx   1 root root    35 Oct 31 21:23 libglx.so ->
/etc/alternatives/nvidia--libglx.so
lrwxrwxrwx   1 root root    24 Oct 31 21:23 nvidia -> /etc/alternatives/nvidia
lrwxrwxrwx   1 root root    46 Oct 31 21:23 nvidia-bug-report.sh ->
/etc/alternatives/nvidia--nvidia-bug-report.sh
lrwxrwxrwx   1 root root    39 Oct 31 21:23 nvidia_drv.so ->
/etc/alternatives/nvidia--nvidia_drv.so
-rwxr-xr-x   1 root root   618 Feb 26  2016 pre-install

/usr/lib/nvidia/bumblebee/:
total 8
drwxr-xr-x 2 root root 4096 Oct  9  2016 .
drwxr-xr-x 4 root root 4096 Oct 31 21:23 ..

/usr/lib/nvidia/legacy-304xx/:
total 18864
drwxr-xr-x 2 root root     4096 Jan 16 20:30 .
drwxr-xr-x 4 root root     4096 Oct 31 21:23 ..
lrwxrwxrwx 1 root root       17 Nov 27 08:01 libglx.so -> libglx.so.304.137
-rw-r--r-- 1 root root  9036464 Sep 14 23:16 libglx.so.304.137
-rwxr-xr-x 1 root root    20247 Sep 14 22:37 nvidia-bug-report.sh
-rwxr-xr-x 1 root root   160764 Sep 15 00:01 nvidia-debugdump
-rw-r--r-- 1 root root     4698 Nov 27 08:01 nvidia.ids
-rw-r--r-- 1 root root 10072660 Sep 14 22:56 nvidia_drv.so

/usr/lib/nvidia/nvidia/:
total 18864
drwxr-xr-x 2 root root     4096 Jan 16 20:30 .
drwxr-xr-x 4 root root     4096 Oct 31 21:23 ..
lrwxrwxrwx 1 root root       17 Nov 27 08:01 libglx.so -> libglx.so.304.137
-rw-r--r-- 1 root root  9036464 Sep 14 23:16 libglx.so.304.137
-rwxr-xr-x 1 root root    20247 Sep 14 22:37 nvidia-bug-report.sh
-rwxr-xr-x 1 root root   160764 Sep 15 00:01 nvidia-debugdump
-rw-r--r-- 1 root root     4698 Nov 27 08:01 nvidia.ids
-rw-r--r-- 1 root root 10072660 Sep 14 22:56 nvidia_drv.so

/etc/modprobe.d:
total 52
drwxr-xr-x   2 root root  4096 Oct 31 21:25 .
drwxr-xr-x 207 root root 20480 Jan 18 17:50 ..
-rw-r--r--   1 root root   484 Oct  9  2006 bluez.conf
-rw-r--r--   1 root root   127 Oct 25  2016 dkms.conf
-rw-r--r--   1 root root    18 May  9  2006 eth1394
lrwxrwxrwx   1 root root    53 Oct 31 21:25 nvidia-blacklists-nouveau.conf ->
/etc/alternatives/glx--nvidia-blacklists-nouveau.conf
-rw-r--r--   1 root root   260 Feb 26  2016 nvidia-kernel-common.conf
lrwxrwxrwx   1 root root    43 Oct 31 21:25 nvidia.conf ->
/etc/alternatives/glx--nvidia-modprobe.conf
-rw-r--r--   1 root root   119 Oct 18  2014 oss-compat.conf
-rw-r--r--   1 root root   101 May 19  2012 sound.conf
-rw-r--r--   1 root root    17 May 18  2006 vesafb

/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  761 May 13  2013 /etc/modules

/etc/modules-load.d/:
total 32
drwxr-xr-x   2 root root  4096 Oct 31 21:25 .
drwxr-xr-x 207 root root 20480 Jan 18 17:50 ..
-rw-r--r--   1 root root   119 Mar 11  2015 cups-filters.conf
lrwxrwxrwx   1 root root    10 Jul  5  2017 modules.conf -> ../modules
lrwxrwxrwx   1 root root    39 Oct 31 21:25 nvidia.conf ->
/etc/alternatives/glx--nvidia-load.conf
-rw-r--r--   1 root root    12 Jul 18  2016 pptpd.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-304xx $CMDLINE_OPTS

remove nvidia modprobe -r -i 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 ^^^^^^^^^^

<<<<<<<<<< /etc/X11/xorg.conf >>>>>>>>>>
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc:unscaled"
        FontPath        "/usr/share/fonts/X11/100dpi:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "unix/:7100"    # local font server
EndSection

Section "Extensions"
        Option          "Composite"     "1"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "fi"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "Auto"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        Identifier      "NVIDIA GPU GeForce GTS 250 - DVI"
        Driver          "nvidia"
        BusID           "PCI:1:0:0"
        Screen          0
        Option          "UseDisplayDevice" "DFP-0"
EndSection

Section "Device"
        Identifier      "NVIDIA GPU GeForce GTS 250 - HDMI"
        Driver          "nvidia"
        BusID           "PCI:1:0:0"
        Screen          1
        Option          "UseDisplayDevice" "DFP-1"
EndSection

Section "Device"
        Identifier      "NVIDIA GPU GeForce 7200 GS - DVI"
        Driver          "nvidia"
        BusID           "PCI:6:0:0"
        Screen          0
        Option          "UseDisplayDevice" "DFP-0"
EndSection

Section "Device"
        Identifier      "NVIDIA GPU GeForce 7200 GS - S-Video"
        Driver          "nvidia"
        BusID           "PCI:6:0:0"
        Screen          1
        Option          "UseDisplayDevice" "TV-0"
        Option          "TVStandard" "PAL-G"
        Option          "TVOverScan" "0.7"
EndSection

Section "Monitor"
        Identifier      "LG LCD Panel"
        HorizSync       28-83
        VertRefresh     56-75
        Option          "DPMS" "1"
        Option          "Primary" "1"
EndSection

Section "Monitor"
        Identifier      "EPSON Projector"
        HorizSync       15-80
        VertRefresh     24-85
        Option          "DPMS" "1"
EndSection

Section "Monitor"
        Identifier      "IBM LCD Panel"
        HorizSync       31-75
        VertRefresh     56-85
        Option          "DPMS" "1"
EndSection

Section "Monitor"
        Identifier      "Sony CRT TV"
        HorizSync       15-50
        VertRefresh     50
        Option          "DPMS" "1"
EndSection

Section "ServerFlags"
        Option          "AllowMouseOpenFail" "1"
        Option          "BlankTime" "10"
        Option          "StandbyTime" "20"
        Option          "SuspendTime" "30"
        Option          "OffTime" "40"
        Option          "Xinerama" "0"
EndSection

Section "Screen"
        Identifier      "Main Display"
        Device          "NVIDIA GPU GeForce GTS 250 - DVI"
        Monitor         "LG LCD Panel"
        DefaultDepth    24
        SubSection "Display"
                Depth           16
                Modes           "1600x1200" "1280x1024" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1600x1200" "1280x1024" "1024x768" "800x600"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "Wall Projector"
        Device          "NVIDIA GPU GeForce GTS 250 - HDMI"
        Monitor         "EPSON Projector"
        Option          "DPI" "100x100"
        DefaultDepth    24
        SubSection "Display"
                Depth           16
                Modes           "1920x1080" "1280x720" "720x576"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1920x1080" "1280x720" "720x576"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "Secondary Display"
        Device          "NVIDIA GPU GeForce 7200 GS - DVI"
        Monitor         "IBM LCD Panel"
        DefaultDepth    24
        SubSection "Display"
                Depth           16
                Modes           "1600x1200" "1280x1024" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1600x1200" "1280x1024" "1024x768" "800x600"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "TV Screen"
        Device          "NVIDIA GPU GeForce 7200 GS - S-Video"
        Monitor         "Sony CRT TV"
        DefaultDepth    24
        SubSection "Display"
                Depth           16
                Modes           "720x576"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "720x576"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Layout"
        Screen          0 "Main Display"
        Screen          1 "Wall Projector" RightOf "Secondary Display"
        Screen          2 "Secondary Display" RightOf "Main Display"
        Screen          3 "TV Screen" Below "Wall Projector"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection
^^^^^^^^^^ /etc/X11/xorg.conf ^^^^^^^^^^

<<<<<<<<<< /var/log/Xorg.0.log >>>>>>>>>>
[   209.077]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[   209.077] X Protocol Version 11, Revision 0
[   209.077] Build Operating System: Linux 4.9.0-4-amd64 i686 Debian
[   209.077] Current Operating System: Linux kallio 4.9.0-5-686-pae #1 SMP
Debian 4.9.65-3+deb9u2 (2018-01-04) i686
[   209.077] Kernel command line: BOOT_IMAGE=/vmlinuz-4.9.0-5-686-pae
root=/dev/mapper/vgsys-root ro quiet rootdelay=3 splash vmalloc=512M
[   209.077] Build Date: 16 October 2017  08:12:56AM
[   209.077] xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support)
[   209.077] Current version of pixman: 0.34.0
[   209.077]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   209.077] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   209.077] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 16 21:04:47
2018
[   209.077] (==) Using config file: "/etc/X11/xorg.conf"
[   209.077] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   209.077] (==) ServerLayout "Layout"
[   209.077] (**) |-->Screen "Main Display" (0)
[   209.077] (**) |   |-->Monitor "LG LCD Panel"
[   209.078] (**) |   |-->Device "NVIDIA GPU GeForce GTS 250 - DVI"
[   209.078] (**) |-->Screen "Wall Projector" (1)
[   209.078] (**) |   |-->Monitor "EPSON Projector"
[   209.078] (**) |   |-->Device "NVIDIA GPU GeForce GTS 250 - HDMI"
[   209.078] (**) |-->Screen "Secondary Display" (2)
[   209.078] (**) |   |-->Monitor "IBM LCD Panel"
[   209.078] (**) |   |-->Device "NVIDIA GPU GeForce 7200 GS - DVI"
[   209.078] (**) |-->Screen "TV Screen" (3)
[   209.078] (**) |   |-->Monitor "Sony CRT TV"
[   209.078] (**) |   |-->Device "NVIDIA GPU GeForce 7200 GS - S-Video"
[   209.078] (**) |-->Input Device "Generic Keyboard"
[   209.078] (**) |-->Input Device "Configured Mouse"
[   209.078] (**) Option "AllowMouseOpenFail" "1"
[   209.078] (**) Option "BlankTime" "10"
[   209.078] (**) Option "StandbyTime" "20"
[   209.078] (**) Option "SuspendTime" "30"
[   209.078] (**) Option "OffTime" "40"
[   209.078] (**) Option "Xinerama" "0"
[   209.078] (==) Automatically adding devices
[   209.078] (==) Automatically enabling devices
[   209.078] (==) Automatically adding GPU devices
[   209.078] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   209.078] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   209.078]    Entry deleted from font path.
[   209.078] (**) FontPath set to:
        /usr/share/fonts/X11/misc:unscaled,
        /usr/share/fonts/X11/100dpi:unscaled,
        /usr/share/fonts/X11/75dpi:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        unix/:7100,
        /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
[   209.078] (==) ModulePath set to "/usr/lib/xorg/modules"
[   209.078] (**) Extension "Composite" is enabled
[   209.078] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or
'vmmouse' will be disabled.
[   209.078] (WW) Disabling Generic Keyboard
[   209.078] (WW) Disabling Configured Mouse
[   209.078] (II) Loader magic: 0x758720
[   209.078] (II) Module ABI versions:
[   209.078]    X.Org ANSI C Emulation: 0.4
[   209.078]    X.Org Video Driver: 23.0
[   209.078]    X.Org XInput driver : 24.1
[   209.078]    X.Org Server Extension : 10.0
[   209.079] (++) using VT number 7

[   209.079] (II) systemd-logind: logind integration requires -keeptty and
-keeptty was not provided, disabling logind integration
[   209.079] (II) xfree86: Adding drm device (/dev/dri/card0)
[   209.079] (II) xfree86: Adding drm device (/dev/dri/card1)
[   209.081] (--) PCI:*(0:1:0:0) 10de:0615:1043:830b rev 162, Mem @
0xf3000000/16777216, 0xb0000000/268435456, 0xf0000000/33554432, I/O @
0x0000bc00/128, BIOS @ 0x????????/131072
[   209.081] (--) PCI: (0:6:0:0) 10de:01d3:10de:0411 rev 161, Mem @
0xf6000000/16777216, 0xd0000000/268435456, 0xf5000000/16777216, BIOS @
0x????????/131072
[   209.081] (II) LoadModule: "glx"
[   209.081] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[   209.097] (II) Module glx: vendor="NVIDIA Corporation"
[   209.097]    compiled for 4.0.2, module version = 1.0.0
[   209.097]    Module class: X.Org Server Extension
[   209.097] (II) NVIDIA GLX Module  304.137  Thu Sep 14 13:13:03 PDT 2017
[   209.097] (II) LoadModule: "nvidia"
[   209.097] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   209.097] (II) Module nvidia: vendor="NVIDIA Corporation"
[   209.097]    compiled for 4.0.2, module version = 1.0.0
[   209.097]    Module class: X.Org Video Driver
[   209.097] (II) NVIDIA dlloader X Driver  304.137  Thu Sep 14 12:51:09 PDT
2017
[   209.097] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   209.097] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[   209.097] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[   209.607] (II) Loading sub module "fb"
[   209.607] (II) LoadModule: "fb"
[   209.607] (II) Loading /usr/lib/xorg/modules/libfb.so
[   209.607] (II) Module fb: vendor="X.Org Foundation"
[   209.607]    compiled for 1.19.2, module version = 1.0.0
[   209.607]    ABI class: X.Org ANSI C Emulation, version 0.4
[   209.607] (II) Loading sub module "wfb"
[   209.607] (II) LoadModule: "wfb"
[   209.607] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   209.607] (II) Module wfb: vendor="X.Org Foundation"
[   209.607]    compiled for 1.19.2, module version = 1.0.0
[   209.607]    ABI class: X.Org ANSI C Emulation, version 0.4
[   209.608] (II) Loading sub module "ramdac"
[   209.608] (II) LoadModule: "ramdac"
[   209.608] (II) Module "ramdac" already built-in
[   209.608] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   209.608] (==) NVIDIA(0): RGB weight 888
[   209.608] (==) NVIDIA(0): Default visual is TrueColor
[   209.608] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   209.608] (**) NVIDIA(0): Option "UseDisplayDevice" "DFP-0"
[   209.608] (**) NVIDIA(1): Option "UseDisplayDevice" "DFP-1"
[   209.608] (**) NVIDIA(0): Enabling 2D acceleration
[   209.701] (II) NVIDIA(GPU-0): Display (LG Electronics LX20D (DFP-0)) does
not support NVIDIA
[   209.701] (II) NVIDIA(GPU-0):     3D Vision stereo.
[   209.704] (II) NVIDIA(0): NVIDIA GPU GeForce GTS 250 (G92) at PCI:1:0:0
(GPU-0)
[   209.704] (--) NVIDIA(0): Memory: 524288 kBytes
[   209.704] (--) NVIDIA(0): VideoBIOS: 62.92.5d.00.01
[   209.704] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   209.704] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[   209.708] (--) NVIDIA(0): Valid display device(s) on GeForce GTS 250 at
PCI:1:0:0
[   209.708] (--) NVIDIA(0):     CRT-0
[   209.708] (--) NVIDIA(0):     CRT-1
[   209.708] (--) NVIDIA(0):     LG Electronics LX20D (DFP-0) (connected)
[   209.708] (--) NVIDIA(0):     DFP-1
[   209.708] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[   209.708] (--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
[   209.708] (--) NVIDIA(0): LG Electronics LX20D (DFP-0): 330.0 MHz maximum
pixel clock
[   209.708] (--) NVIDIA(0): LG Electronics LX20D (DFP-0): Internal Dual Link
TMDS
[   209.708] (--) NVIDIA(0): DFP-1: 165.0 MHz maximum pixel clock
[   209.708] (--) NVIDIA(0): DFP-1: Internal Single Link TMDS
[   209.708] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[   209.708] (**) NVIDIA(0):     device LG Electronics LX20D (DFP-0) (Using
EDID
[   209.708] (**) NVIDIA(0):     frequencies has been enabled on all display
devices.)
[   209.710] (II) NVIDIA(0): Validated MetaModes:
[   209.710] (II) NVIDIA(0):     "DFP-0:1600x1200"
[   209.710] (II) NVIDIA(0):     "DFP-0:1280x1024"
[   209.710] (II) NVIDIA(0):     "DFP-0:1024x768"
[   209.710] (II) NVIDIA(0):     "DFP-0:800x600"
[   209.710] (II) NVIDIA(0): Virtual screen size determined to be 1600 x 1200
[   209.742] (--) NVIDIA(0): DPI set to (99, 98); computed from "UseEdidDpi" X
config
[   209.742] (--) NVIDIA(0):     option
[   209.742] (**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
[   209.742] (==) NVIDIA(1): RGB weight 888
[   209.742] (==) NVIDIA(1): Default visual is TrueColor
[   209.743] (==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
[   209.743] (**) NVIDIA(1): Option "DPI" "100x100"
[   209.743] (II) NVIDIA(1): NVIDIA GPU GeForce GTS 250 (G92) at PCI:1:0:0
(GPU-0)
[   209.743] (--) NVIDIA(1): Memory: 524288 kBytes
[   209.743] (--) NVIDIA(1): VideoBIOS: 62.92.5d.00.01
[   209.743] (II) NVIDIA(1): Detected PCI Express Link width: 16X
[   209.743] (--) NVIDIA(1): Interlaced video modes are supported on this GPU
[   209.746] (--) NVIDIA(1): Valid display device(s) on GeForce GTS 250 at
PCI:1:0:0
[   209.746] (--) NVIDIA(1):     CRT-0
[   209.746] (--) NVIDIA(1):     CRT-1
[   209.746] (--) NVIDIA(1):     LG Electronics LX20D (DFP-0) (connected)
[   209.746] (--) NVIDIA(1):     DFP-1
[   209.746] (--) NVIDIA(1): CRT-0: 400.0 MHz maximum pixel clock
[   209.746] (--) NVIDIA(1): CRT-1: 400.0 MHz maximum pixel clock
[   209.746] (--) NVIDIA(1): LG Electronics LX20D (DFP-0): 330.0 MHz maximum
pixel clock
[   209.746] (--) NVIDIA(1): LG Electronics LX20D (DFP-0): Internal Dual Link
TMDS
[   209.746] (--) NVIDIA(1): DFP-1: 165.0 MHz maximum pixel clock
[   209.746] (--) NVIDIA(1): DFP-1: Internal Single Link TMDS
[   209.746] (EE) NVIDIA(1): Failed to assign any connected display devices to
X screen 1
[   209.749] (EE) NVIDIA(1): Failing initialization of X screen 1
[   209.749] (**) NVIDIA(2): Depth 24, (--) framebuffer bpp 32
[   209.749] (==) NVIDIA(2): RGB weight 888
[   209.749] (==) NVIDIA(2): Default visual is TrueColor
[   209.749] (==) NVIDIA(2): Using gamma correction (1.0, 1.0, 1.0)
[   209.749] (**) NVIDIA(2): Option "UseDisplayDevice" "DFP-0"
[   209.749] (**) NVIDIA(3): Option "UseDisplayDevice" "TV-0"
[   209.749] (**) NVIDIA(2): Enabling 2D acceleration
[   210.007] (II) NVIDIA(GPU-1): Display (IBM L200P (DFP-0)) does not support
NVIDIA 3D Vision
[   210.007] (II) NVIDIA(GPU-1):     stereo.
[   210.011] (II) NVIDIA(2): NVIDIA GPU GeForce 7300 SE/7200 GS (G72) at
PCI:6:0:0 (GPU-1)
[   210.011] (--) NVIDIA(2): Memory: 524288 kBytes
[   210.011] (--) NVIDIA(2): VideoBIOS: 05.72.22.71.09
[   210.011] (II) NVIDIA(2): Detected PCI Express Link width: 16X
[   210.011] (--) NVIDIA(2): Interlaced video modes are supported on this GPU
[   210.011] (--) NVIDIA(2): Valid display device(s) on GeForce 7300 SE/7200 GS
at PCI:6:0:0
[   210.011] (--) NVIDIA(2):     CRT-0
[   210.011] (--) NVIDIA(2):     CRT-1
[   210.011] (--) NVIDIA(2):     NVIDIA TV Encoder (TV-0) (connected)
[   210.011] (--) NVIDIA(2):     IBM L200P (DFP-0) (connected)
[   210.011] (--) NVIDIA(2): CRT-0: 400.0 MHz maximum pixel clock
[   210.011] (--) NVIDIA(2): CRT-1: 400.0 MHz maximum pixel clock
[   210.011] (--) NVIDIA(2): NVIDIA TV Encoder (TV-0): 400.0 MHz maximum pixel
clock
[   210.011] (--) NVIDIA(2): TV encoder: NVIDIA
[   210.011] (--) NVIDIA(2): IBM L200P (DFP-0): 165.0 MHz maximum pixel clock
[   210.011] (--) NVIDIA(2): IBM L200P (DFP-0): Internal Single Link TMDS
[   210.011] (**) NVIDIA(2): Using HorizSync/VertRefresh ranges from the EDID
for display
[   210.011] (**) NVIDIA(2):     device IBM L200P (DFP-0) (Using EDID
frequencies has been
[   210.011] (**) NVIDIA(2):     enabled on all display devices.)
[   210.011] (II) NVIDIA(2): Validated MetaModes:
[   210.011] (II) NVIDIA(2):     "DFP-0:1600x1200"
[   210.011] (II) NVIDIA(2):     "DFP-0:1280x1024"
[   210.011] (II) NVIDIA(2):     "DFP-0:1024x768"
[   210.011] (II) NVIDIA(2):     "DFP-0:800x600"
[   210.011] (II) NVIDIA(2): Virtual screen size determined to be 1600 x 1200
[   210.013] (WW) NVIDIA(2): Unable to support custom viewPortOut 1600 x 900 +0
+150
[   210.013] (WW) NVIDIA(2): Unable to support custom viewPortOut 1600 x 900 +0
+150
[   210.013] (--) NVIDIA(2): DPI set to (99, 98); computed from "UseEdidDpi" X
config
[   210.013] (--) NVIDIA(2):     option
[   210.013] (**) NVIDIA(3): Depth 24, (--) framebuffer bpp 32
[   210.013] (==) NVIDIA(3): RGB weight 888
[   210.013] (==) NVIDIA(3): Default visual is TrueColor
[   210.013] (==) NVIDIA(3): Using gamma correction (1.0, 1.0, 1.0)
[   210.013] (**) NVIDIA(3): Option "TVStandard" "PAL-G"
[   210.013] (**) NVIDIA(3): Option "TVOverScan" "0.7"
[   210.013] (**) NVIDIA(3): TV Standard string: "PAL-G"
[   210.014] (II) NVIDIA(3): NVIDIA GPU GeForce 7300 SE/7200 GS (G72) at
PCI:6:0:0 (GPU-1)
[   210.014] (--) NVIDIA(3): Memory: 524288 kBytes
[   210.014] (--) NVIDIA(3): VideoBIOS: 05.72.22.71.09
[   210.014] (II) NVIDIA(3): Detected PCI Express Link width: 16X
[   210.014] (--) NVIDIA(3): Interlaced video modes are supported on this GPU
[   210.014] (--) NVIDIA(3): Valid display device(s) on GeForce 7300 SE/7200 GS
at PCI:6:0:0
[   210.014] (--) NVIDIA(3):     CRT-0
[   210.014] (--) NVIDIA(3):     CRT-1
[   210.014] (--) NVIDIA(3):     NVIDIA TV Encoder (TV-0) (connected)
[   210.014] (--) NVIDIA(3):     IBM L200P (DFP-0) (connected)
[   210.014] (--) NVIDIA(3): CRT-0: 400.0 MHz maximum pixel clock
[   210.014] (--) NVIDIA(3): CRT-1: 400.0 MHz maximum pixel clock
[   210.014] (--) NVIDIA(3): NVIDIA TV Encoder (TV-0): 400.0 MHz maximum pixel
clock
[   210.014] (--) NVIDIA(3): TV encoder: NVIDIA
[   210.014] (--) NVIDIA(3): IBM L200P (DFP-0): 165.0 MHz maximum pixel clock
[   210.014] (--) NVIDIA(3): IBM L200P (DFP-0): Internal Single Link TMDS
[   210.014] (**) NVIDIA(3): Using HorizSync/VertRefresh ranges from the EDID
for display
[   210.014] (**) NVIDIA(3):     device NVIDIA TV Encoder (TV-0) (Using EDID
frequencies
[   210.014] (**) NVIDIA(3):     has been enabled on all display devices.)
[   210.014] (II) NVIDIA(3): Validated MetaModes:
[   210.014] (II) NVIDIA(3):     "TV-0:720x576"
[   210.014] (II) NVIDIA(3): Virtual screen size determined to be 720 x 576
[   210.014] (WW) NVIDIA(3): Unable to support custom viewPortOut 1024 x 576 +0
+96
[   210.014] (==) NVIDIA(3): DPI set to (75, 75); computed from built-in
default
[   210.014] (II) UnloadModule: "nvidia"
[   210.014] (II) UnloadSubModule: "wfb"
[   210.014] (II) UnloadSubModule: "fb"
[   210.014] (--) Depth 24 pixmap format is 32 bpp
[   210.015] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory
access.
[   210.023] (II) NVIDIA(0): Setting mode "DFP-0:1600x1200"
[   210.087] (==) NVIDIA(0): Disabling shared memory pixmaps
[   210.087] (==) NVIDIA(0): Backing store enabled
[   210.087] (==) NVIDIA(0): Silken mouse enabled
[   210.087] (**) NVIDIA(0): DPMS enabled
[   210.087] (WW) NVIDIA(0): Option "Primary" is not used
[   210.087] (II) Loading sub module "dri2"
[   210.087] (II) LoadModule: "dri2"
[   210.087] (II) Module "dri2" already built-in
[   210.087] (II) NVIDIA(0): [DRI2] Setup complete
[   210.087] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   210.087] (--) RandR disabled
[   210.096] (II) NVIDIA(1): Setting mode "DFP-0:1600x1200"
[   210.258] (==) NVIDIA(1): Disabling shared memory pixmaps
[   210.258] (==) NVIDIA(1): Backing store enabled
[   210.258] (==) NVIDIA(1): Silken mouse enabled
[   210.258] (**) NVIDIA(1): DPMS enabled
[   210.259] (II) Loading sub module "dri2"
[   210.259] (II) LoadModule: "dri2"
[   210.259] (II) Module "dri2" already built-in
[   210.259] (II) NVIDIA(1): [DRI2] Setup complete
[   210.259] (II) NVIDIA(1): [DRI2]   VDPAU driver: nvidia
[   210.259] (--) RandR disabled
[   210.267] (II) NVIDIA(2): Setting mode "TV-0:720x576"
[   210.515] (II) NVIDIA(2): Built-in logo is bigger than the screen.
[   210.540] (==) NVIDIA(2): Disabling shared memory pixmaps
[   210.540] (==) NVIDIA(2): Backing store enabled
[   210.540] (==) NVIDIA(2): Silken mouse enabled
[   210.540] (**) NVIDIA(2): DPMS enabled
[   210.540] (II) Loading sub module "dri2"
[   210.540] (II) LoadModule: "dri2"
[   210.540] (II) Module "dri2" already built-in
[   210.540] (II) NVIDIA(2): [DRI2] Setup complete
[   210.540] (II) NVIDIA(2): [DRI2]   VDPAU driver: nvidia
[   210.540] (--) RandR disabled
[   210.545] (II) SELinux: Disabled on system
[   210.545] (II) Initializing extension GLX
[   210.545] (II) Indirect GLX disabled.(II) config/udev: Adding input device
Power Button (/dev/input/event1)
[   210.683] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   210.683] (**) Power Button: Applying InputClass "libinput keyboard
catchall"
[   210.683] (II) LoadModule: "libinput"
[   210.683] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   210.685] (II) Module libinput: vendor="X.Org Foundation"
[   210.685]    compiled for 1.19.0, module version = 0.23.0
[   210.685]    Module class: X.Org XInput Driver
[   210.685]    ABI class: X.Org XInput driver, version 24.1
[   210.685] (II) Using input driver 'libinput' for 'Power Button'
[   210.685] (**) Power Button: always reports core events
[   210.685] (**) Option "Device" "/dev/input/event1"
[   210.685] (**) Option "_source" "server/udev"
[   210.685] (II) input device 'Power Button', /dev/input/event1 is tagged by
udev as: Keyboard
[   210.685] (II) input device 'Power Button', /dev/input/event1 is a keyboard
[   210.700] (**) Option "config_info"
"udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event1"
[   210.700] (II) XINPUT: Adding extended input device "Power Button" (type:
KEYBOARD, id 6)
[   210.700] (**) Option "xkb_model" "pc105"
[   210.700] (**) Option "xkb_layout" "fi"
[   210.700] (**) Option "xkb_options" "compose:rwin,terminate:ctrl_alt_bksp"
[   210.719] (II) input device 'Power Button', /dev/input/event1 is tagged by
udev as: Keyboard
[   210.719] (II) input device 'Power Button', /dev/input/event1 is a keyboard
[   210.719] (II) config/udev: Adding input device Power Button
(/dev/input/event0)
[   210.719] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   210.719] (**) Power Button: Applying InputClass "libinput keyboard
catchall"
[   210.719] (II) Using input driver 'libinput' for 'Power Button'
[   210.719] (**) Power Button: always reports core events
[   210.719] (**) Option "Device" "/dev/input/event0"
[   210.719] (**) Option "_source" "server/udev"
[   210.719] (II) input device 'Power Button', /dev/input/event0 is tagged by
udev as: Keyboard
[   210.719] (II) input device 'Power Button', /dev/input/event0 is a keyboard
[   210.736] (**) Option "config_info"
"udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event0"
[   210.736] (II) XINPUT: Adding extended input device "Power Button" (type:
KEYBOARD, id 7)
[   210.736] (**) Option "xkb_model" "pc105"
[   210.736] (**) Option "xkb_layout" "fi"
[   210.736] (**) Option "xkb_options" "compose:rwin,terminate:ctrl_alt_bksp"
[   210.736] (II) input device 'Power Button', /dev/input/event0 is tagged by
udev as: Keyboard
[   210.736] (II) input device 'Power Button', /dev/input/event0 is a keyboard
[   210.737] (II) config/udev: Adding input device Logitech USB-PS/2 Optical
Mouse (/dev/input/event5)
[   210.737] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "evdev
pointer catchall"
[   210.737] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass
"libinput pointer catchall"
[   210.737] (II) Using input driver 'libinput' for 'Logitech USB-PS/2 Optical
Mouse'
[   210.737] (**) Logitech USB-PS/2 Optical Mouse: always reports core events
[   210.737] (**) Option "Device" "/dev/input/event5"
[   210.737] (**) Option "_source" "server/udev"
[   210.796] (II) input device 'Logitech USB-PS/2 Optical Mouse',
/dev/input/event5 is tagged by udev as: Mouse
[   210.796] (II) input device 'Logitech USB-PS/2 Optical Mouse',
/dev/input/event5 is a pointer caps
[   210.840] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/0003:046D:C044.0008/input/input8/event5"
[   210.840] (II) XINPUT: Adding extended input device "Logitech USB-PS/2
Optical Mouse" (type: MOUSE, id 8)
[   210.840] (**) Option "AccelerationScheme" "none"
[   210.840] (**) Logitech USB-PS/2 Optical Mouse: (accel) selected scheme
none/0
[   210.840] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration factor:
2.000
[   210.840] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration
threshold: 4
[   210.900] (II) input device 'Logitech USB-PS/2 Optical Mouse',
/dev/input/event5 is tagged by udev as: Mouse
[   210.900] (II) input device 'Logitech USB-PS/2 Optical Mouse',
/dev/input/event5 is a pointer caps
[   210.901] (II) config/udev: Adding input device Logitech USB-PS/2 Optical
Mouse (/dev/input/mouse1)
[   210.901] (II) No input driver specified, ignoring this device.
[   210.901] (II) This device may have been added with another device file.
[   210.901] (II) config/udev: Adding input device HDA Digital PCBeep
(/dev/input/event7)
[   210.901] (II) No input driver specified, ignoring this device.
[   210.901] (II) This device may have been added with another device file.
[   210.902] (II) config/udev: Adding input device HDA Intel MID Rear Mic
(/dev/input/event8)
[   210.902] (II) No input driver specified, ignoring this device.
[   210.902] (II) This device may have been added with another device file.
[   210.902] (II) config/udev: Adding input device HDA Intel MID Line
(/dev/input/event9)
[   210.902] (II) No input driver specified, ignoring this device.
[   210.902] (II) This device may have been added with another device file.
[   210.902] (II) config/udev: Adding input device HDA Intel MID Line Out Front
(/dev/input/event10)
[   210.902] (II) No input driver specified, ignoring this device.
[   210.902] (II) This device may have been added with another device file.
[   210.903] (II) config/udev: Adding input device HDA Intel MID Line Out
Surround (/dev/input/event11)
[   210.903] (II) No input driver specified, ignoring this device.
[   210.903] (II) This device may have been added with another device file.
[   210.903] (II) config/udev: Adding input device HDA Intel MID Line Out CLFE
(/dev/input/event12)
[   210.903] (II) No input driver specified, ignoring this device.
[   210.903] (II) This device may have been added with another device file.
[   210.904] (II) config/udev: Adding input device HDA Intel MID Line Out Side
(/dev/input/event13)
[   210.904] (II) No input driver specified, ignoring this device.
[   210.904] (II) This device may have been added with another device file.
[   210.904] (II) config/udev: Adding input device HID 04f3:0103
(/dev/input/event2)
[   210.905] (**) HID 04f3:0103: Applying InputClass "evdev keyboard catchall"
[   210.905] (**) HID 04f3:0103: Applying InputClass "libinput keyboard
catchall"
[   210.905] (II) Using input driver 'libinput' for 'HID 04f3:0103'
[   210.905] (**) HID 04f3:0103: always reports core events
[   210.905] (**) Option "Device" "/dev/input/event2"
[   210.905] (**) Option "_source" "server/udev"
[   210.905] (II) input device 'HID 04f3:0103', /dev/input/event2 is tagged by
udev as: Keyboard
[   210.905] (II) input device 'HID 04f3:0103', /dev/input/event2 is a keyboard
[   210.928] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/0003:04F3:0103.0001/input/input5/event2"
[   210.928] (II) XINPUT: Adding extended input device "HID 04f3:0103" (type:
KEYBOARD, id 9)
[   210.928] (**) Option "xkb_model" "pc105"
[   210.928] (**) Option "xkb_layout" "fi"
[   210.928] (**) Option "xkb_options" "compose:rwin,terminate:ctrl_alt_bksp"
[   210.928] (II) input device 'HID 04f3:0103', /dev/input/event2 is tagged by
udev as: Keyboard
[   210.928] (II) input device 'HID 04f3:0103', /dev/input/event2 is a keyboard
[   210.929] (II) config/udev: Adding input device HID 04f3:0103
(/dev/input/event3)
[   210.929] (**) HID 04f3:0103: Applying InputClass "evdev keyboard catchall"
[   210.929] (**) HID 04f3:0103: Applying InputClass "libinput keyboard
catchall"
[   210.929] (II) Using input driver 'libinput' for 'HID 04f3:0103'
[   210.929] (**) HID 04f3:0103: always reports core events
[   210.929] (**) Option "Device" "/dev/input/event3"
[   210.929] (**) Option "_source" "server/udev"
[   210.930] (II) input device 'HID 04f3:0103', /dev/input/event3 is tagged by
udev as: Keyboard
[   210.930] (II) input device 'HID 04f3:0103', /dev/input/event3 is a keyboard
[   210.944] (II) libinput: HID 04f3:0103: needs a virtual subdevice
[   210.944] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.1/0003:04F3:0103.0002/input/input6/event3"
[   210.944] (II) XINPUT: Adding extended input device "HID 04f3:0103" (type:
MOUSE, id 10)
[   210.944] (**) Option "AccelerationScheme" "none"
[   210.944] (**) HID 04f3:0103: (accel) selected scheme none/0
[   210.944] (**) HID 04f3:0103: (accel) acceleration factor: 2.000
[   210.944] (**) HID 04f3:0103: (accel) acceleration threshold: 4
[   210.944] (II) input device 'HID 04f3:0103', /dev/input/event3 is tagged by
udev as: Keyboard
[   210.945] (II) input device 'HID 04f3:0103', /dev/input/event3 is a keyboard
[   210.945] (II) config/udev: Adding input device Logitech Performance MX
(/dev/input/event4)
[   210.945] (**) Logitech Performance MX: Applying InputClass "evdev pointer
catchall"
[   210.945] (**) Logitech Performance MX: Applying InputClass "libinput
pointer catchall"
[   210.945] (II) Using input driver 'libinput' for 'Logitech Performance MX'
[   210.945] (**) Logitech Performance MX: always reports core events
[   210.945] (**) Option "Device" "/dev/input/event4"
[   210.945] (**) Option "_source" "server/udev"
[   210.946] (II) input device 'Logitech Performance MX', /dev/input/event4 is
tagged by udev as: Mouse
[   210.946] (II) Device 'Logitech Performance MX' set to 1000 DPI
[   210.946] (II) input device 'Logitech Performance MX', /dev/input/event4 is
a pointer caps
[   210.988] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.2/0003:046D:C52B.0006/0003:046D:101A.0007/input/input7/event4"
[   210.988] (II) XINPUT: Adding extended input device "Logitech Performance
MX" (type: MOUSE, id 11)
[   210.988] (**) Option "AccelerationScheme" "none"
[   210.988] (**) Logitech Performance MX: (accel) selected scheme none/0
[   210.988] (**) Logitech Performance MX: (accel) acceleration factor: 2.000
[   210.988] (**) Logitech Performance MX: (accel) acceleration threshold: 4
[   210.988] (II) input device 'Logitech Performance MX', /dev/input/event4 is
tagged by udev as: Mouse
[   210.988] (II) Device 'Logitech Performance MX' set to 1000 DPI
[   210.988] (II) input device 'Logitech Performance MX', /dev/input/event4 is
a pointer caps
[   210.989] (II) config/udev: Adding input device Logitech Performance MX
(/dev/input/mouse0)
[   210.989] (II) No input driver specified, ignoring this device.
[   210.989] (II) This device may have been added with another device file.
[   210.989] (II) config/udev: Adding input device PC Speaker
(/dev/input/event6)
[   210.989] (II) No input driver specified, ignoring this device.
[   210.989] (II) This device may have been added with another device file.
[   210.992] (**) HID 04f3:0103: Applying InputClass "evdev keyboard catchall"
[   210.992] (**) HID 04f3:0103: Applying InputClass "libinput keyboard
catchall"
[   210.992] (II) Using input driver 'libinput' for 'HID 04f3:0103'
[   210.992] (**) HID 04f3:0103: always reports core events
[   210.992] (**) Option "Device" "/dev/input/event3"
[   210.992] (**) Option "_source" "_driver/libinput"
[   210.992] (II) libinput: HID 04f3:0103: is a virtual subdevice
[   210.992] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.1/0003:04F3:0103.0002/input/input6/event3"
[   210.992] (II) XINPUT: Adding extended input device "HID 04f3:0103" (type:
KEYBOARD, id 12)
[   210.992] (**) Option "xkb_model" "pc105"
[   210.993] (**) Option "xkb_layout" "fi"
[   210.993] (**) Option "xkb_options" "compose:rwin,terminate:ctrl_alt_bksp"
[   240.392] (II) NVIDIA(GPU-0): Display (LG Electronics LX20D (DFP-0)) does
not support NVIDIA
[   240.392] (II) NVIDIA(GPU-0):     3D Vision stereo.
[   240.392] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[   240.392] (**) NVIDIA(0):     device LG Electronics LX20D (DFP-0) (Using
EDID
[   240.392] (**) NVIDIA(0):     frequencies has been enabled on all display
devices.)
[   240.567] (**) NVIDIA(2): Using HorizSync/VertRefresh ranges from the EDID
for display
[   240.567] (**) NVIDIA(2):     device NVIDIA TV Encoder (TV-0) (Using EDID
frequencies
[   240.567] (**) NVIDIA(2):     has been enabled on all display devices.)
[   240.652] (II) NVIDIA(GPU-1): Display (IBM L200P (DFP-0)) does not support
NVIDIA 3D Vision
[   240.652] (II) NVIDIA(GPU-1):     stereo.
[   240.652] (**) NVIDIA(1): Using HorizSync/VertRefresh ranges from the EDID
for display
[   240.652] (**) NVIDIA(1):     device IBM L200P (DFP-0) (Using EDID
frequencies has been
[   240.652] (**) NVIDIA(1):     enabled on all display devices.)
[   240.822] (**) NVIDIA(2): Using HorizSync/VertRefresh ranges from the EDID
for display
[   240.822] (**) NVIDIA(2):     device NVIDIA TV Encoder (TV-0) (Using EDID
frequencies
[   240.822] (**) NVIDIA(2):     has been enabled on all display devices.)
[   240.908] (II) NVIDIA(GPU-1): Display (IBM L200P (DFP-0)) does not support
NVIDIA 3D Vision
[   240.908] (II) NVIDIA(GPU-1):     stereo.
[   240.908] (**) NVIDIA(1): Using HorizSync/VertRefresh ranges from the EDID
for display
[   240.908] (**) NVIDIA(1):     device IBM L200P (DFP-0) (Using EDID
frequencies has been
[   240.908] (**) NVIDIA(1):     enabled on all display devices.)
[   241.448] (II) NVIDIA(GPU-0): Display (LG Electronics LX20D (DFP-0)) does
not support NVIDIA
[   241.448] (II) NVIDIA(GPU-0):     3D Vision stereo.
[   241.448] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[   241.448] (**) NVIDIA(0):     device LG Electronics LX20D (DFP-0) (Using
EDID
[   241.448] (**) NVIDIA(0):     frequencies has been enabled on all display
devices.)
[   274.145] (II) NVIDIA(GPU-0): Display (LG Electronics LX20D (DFP-0)) does
not support NVIDIA
[   274.145] (II) NVIDIA(GPU-0):     3D Vision stereo.
[   274.145] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[   274.145] (**) NVIDIA(0):     device LG Electronics LX20D (DFP-0) (Using
EDID
[   274.145] (**) NVIDIA(0):     frequencies has been enabled on all display
devices.)
[   274.320] (**) NVIDIA(2): Using HorizSync/VertRefresh ranges from the EDID
for display
[   274.320] (**) NVIDIA(2):     device NVIDIA TV Encoder (TV-0) (Using EDID
frequencies
[   274.320] (**) NVIDIA(2):     has been enabled on all display devices.)
[   274.406] (II) NVIDIA(GPU-1): Display (IBM L200P (DFP-0)) does not support
NVIDIA 3D Vision
[   274.406] (II) NVIDIA(GPU-1):     stereo.
[   274.406] (**) NVIDIA(1): Using HorizSync/VertRefresh ranges from the EDID
for display
[   274.406] (**) NVIDIA(1):     device IBM L200P (DFP-0) (Using EDID
frequencies has been
[   274.406] (**) NVIDIA(1):     enabled on all display devices.)
[   274.580] (**) NVIDIA(2): Using HorizSync/VertRefresh ranges from the EDID
for display
[   274.580] (**) NVIDIA(2):     device NVIDIA TV Encoder (TV-0) (Using EDID
frequencies
[   274.580] (**) NVIDIA(2):     has been enabled on all display devices.)
[   274.667] (II) NVIDIA(GPU-1): Display (IBM L200P (DFP-0)) does not support
NVIDIA 3D Vision
[   274.667] (II) NVIDIA(GPU-1):     stereo.
[   274.667] (**) NVIDIA(1): Using HorizSync/VertRefresh ranges from the EDID
for display
[   274.667] (**) NVIDIA(1):     device IBM L200P (DFP-0) (Using EDID
frequencies has been
[   274.667] (**) NVIDIA(1):     enabled on all display devices.)
[   274.733] (II) NVIDIA(GPU-0): Display (LG Electronics LX20D (DFP-0)) does
not support NVIDIA
[   274.733] (II) NVIDIA(GPU-0):     3D Vision stereo.
[   274.733] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[   274.733] (**) NVIDIA(0):     device LG Electronics LX20D (DFP-0) (Using
EDID
[   274.733] (**) NVIDIA(0):     frequencies has been enabled on all display
devices.)
[   274.800] (II) NVIDIA(GPU-0): Display (LG Electronics LX20D (DFP-0)) does
not support NVIDIA
[   274.800] (II) NVIDIA(GPU-0):     3D Vision stereo.
[   274.800] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[   274.800] (**) NVIDIA(0):     device LG Electronics LX20D (DFP-0) (Using
EDID
[   274.800] (**) NVIDIA(0):     frequencies has been enabled on all display
devices.)
[   274.971] (**) NVIDIA(2): Using HorizSync/VertRefresh ranges from the EDID
for display
[   274.971] (**) NVIDIA(2):     device NVIDIA TV Encoder (TV-0) (Using EDID
frequencies
[   274.971] (**) NVIDIA(2):     has been enabled on all display devices.)
[   275.056] (II) NVIDIA(GPU-1): Display (IBM L200P (DFP-0)) does not support
NVIDIA 3D Vision
[   275.056] (II) NVIDIA(GPU-1):     stereo.
[   275.056] (**) NVIDIA(1): Using HorizSync/VertRefresh ranges from the EDID
for display
[   275.056] (**) NVIDIA(1):     device IBM L200P (DFP-0) (Using EDID
frequencies has been
[   275.056] (**) NVIDIA(1):     enabled on all display devices.)
[   275.225] (**) NVIDIA(2): Using HorizSync/VertRefresh ranges from the EDID
for display
[   275.225] (**) NVIDIA(2):     device NVIDIA TV Encoder (TV-0) (Using EDID
frequencies
[   275.225] (**) NVIDIA(2):     has been enabled on all display devices.)
[   275.311] (II) NVIDIA(GPU-1): Display (IBM L200P (DFP-0)) does not support
NVIDIA 3D Vision
[   275.311] (II) NVIDIA(GPU-1):     stereo.
[   275.311] (**) NVIDIA(1): Using HorizSync/VertRefresh ranges from the EDID
for display
[   275.311] (**) NVIDIA(1):     device IBM L200P (DFP-0) (Using EDID
frequencies has been
[   275.311] (**) NVIDIA(1):     enabled on all display devices.)
[   275.379] (II) NVIDIA(GPU-0): Display (LG Electronics LX20D (DFP-0)) does
not support NVIDIA
[   275.379] (II) NVIDIA(GPU-0):     3D Vision stereo.
[   275.379] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[   275.379] (**) NVIDIA(0):     device LG Electronics LX20D (DFP-0) (Using
EDID
[   275.379] (**) NVIDIA(0):     frequencies has been enabled on all display
devices.)
[   275.549] (**) NVIDIA(2): Using HorizSync/VertRefresh ranges from the EDID
for display
[   275.549] (**) NVIDIA(2):     device NVIDIA TV Encoder (TV-0) (Using EDID
frequencies
[   275.549] (**) NVIDIA(2):     has been enabled on all display devices.)
[   275.635] (II) NVIDIA(GPU-1): Display (IBM L200P (DFP-0)) does not support
NVIDIA 3D Vision
[   275.635] (II) NVIDIA(GPU-1):     stereo.
[   275.635] (**) NVIDIA(1): Using HorizSync/VertRefresh ranges from the EDID
for display
[   275.635] (**) NVIDIA(1):     device IBM L200P (DFP-0) (Using EDID
frequencies has been
[   275.635] (**) NVIDIA(1):     enabled on all display devices.)
[   275.804] (**) NVIDIA(2): Using HorizSync/VertRefresh ranges from the EDID
for display
[   275.804] (**) NVIDIA(2):     device NVIDIA TV Encoder (TV-0) (Using EDID
frequencies
[   275.804] (**) NVIDIA(2):     has been enabled on all display devices.)
[   275.890] (II) NVIDIA(GPU-1): Display (IBM L200P (DFP-0)) does not support
NVIDIA 3D Vision
[   275.890] (II) NVIDIA(GPU-1):     stereo.
[   275.890] (**) NVIDIA(1): Using HorizSync/VertRefresh ranges from the EDID
for display
[   275.890] (**) NVIDIA(1):     device IBM L200P (DFP-0) (Using EDID
frequencies has been
[   275.890] (**) NVIDIA(1):     enabled on all display devices.)
[   276.058] (**) NVIDIA(2): Using HorizSync/VertRefresh ranges from the EDID
for display
[   276.058] (**) NVIDIA(2):     device NVIDIA TV Encoder (TV-0) (Using EDID
frequencies
[   276.058] (**) NVIDIA(2):     has been enabled on all display devices.)
[   276.145] (II) NVIDIA(GPU-1): Display (IBM L200P (DFP-0)) does not support
NVIDIA 3D Vision
[   276.145] (II) NVIDIA(GPU-1):     stereo.
[   276.145] (**) NVIDIA(1): Using HorizSync/VertRefresh ranges from the EDID
for display
[   276.145] (**) NVIDIA(1):     device IBM L200P (DFP-0) (Using EDID
frequencies has been
[   276.145] (**) NVIDIA(1):     enabled on all display devices.)
[   276.316] (**) NVIDIA(2): Using HorizSync/VertRefresh ranges from the EDID
for display
[   276.316] (**) NVIDIA(2):     device NVIDIA TV Encoder (TV-0) (Using EDID
frequencies
[   276.316] (**) NVIDIA(2):     has been enabled on all display devices.)
[   276.404] (II) NVIDIA(GPU-1): Display (IBM L200P (DFP-0)) does not support
NVIDIA 3D Vision
[   276.404] (II) NVIDIA(GPU-1):     stereo.
[   276.404] (**) NVIDIA(1): Using HorizSync/VertRefresh ranges from the EDID
for display
[   276.404] (**) NVIDIA(1):     device IBM L200P (DFP-0) (Using EDID
frequencies has been
[   276.404] (**) NVIDIA(1):     enabled on all display devices.)
[  2032.976] (II) NVIDIA(GPU-0): Display (LG Electronics LX20D (DFP-0)) does
not support NVIDIA
[  2032.976] (II) NVIDIA(GPU-0):     3D Vision stereo.
[  2032.976] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[  2032.976] (**) NVIDIA(0):     device LG Electronics LX20D (DFP-0) (Using
EDID
[  2032.976] (**) NVIDIA(0):     frequencies has been enabled on all display
devices.)
[  2086.975] (II) NVIDIA(GPU-0): Display (LG Electronics LX20D (DFP-0)) does
not support NVIDIA
[  2086.988] (II) NVIDIA(GPU-0):     3D Vision stereo.
[  2087.004] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[  2087.020] (**) NVIDIA(0):     device LG Electronics LX20D (DFP-0) (Using
EDID
[  2087.036] (**) NVIDIA(0):     frequencies has been enabled on all display
devices.)
[  2113.416] (II) NVIDIA(GPU-0): Display (LG Electronics LX20D (DFP-0)) does
not support NVIDIA
[  2113.432] (II) NVIDIA(GPU-0):     3D Vision stereo.
[  2113.452] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[  2113.460] (**) NVIDIA(0):     device LG Electronics LX20D (DFP-0) (Using
EDID
[  2113.460] (**) NVIDIA(0):     frequencies has been enabled on all display
devices.)
[  2143.341] (II) NVIDIA(GPU-0): Display (LG Electronics LX20D (DFP-0)) does
not support NVIDIA
[  2143.341] (II) NVIDIA(GPU-0):     3D Vision stereo.
[  2143.356] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[  2143.372] (**) NVIDIA(0):     device LG Electronics LX20D (DFP-0) (Using
EDID
[  2143.388] (**) NVIDIA(0):     frequencies has been enabled on all display
devices.)
[ 75933.736] (II) NVIDIA(GPU-0): Display (LG Electronics LX20D (DFP-0)) does
not support NVIDIA
[ 75933.736] (II) NVIDIA(GPU-0):     3D Vision stereo.
[ 75933.748] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[ 75933.748] (**) NVIDIA(0):     device LG Electronics LX20D (DFP-0) (Using
EDID
[ 75933.748] (**) NVIDIA(0):     frequencies has been enabled on all display
devices.)
[ 77975.368] (II) NVIDIA(GPU-0): Display (LG Electronics LX20D (DFP-0)) does
not support NVIDIA
[ 77975.420] (II) NVIDIA(GPU-0):     3D Vision stereo.
[ 77975.436] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[ 77975.452] (**) NVIDIA(0):     device LG Electronics LX20D (DFP-0) (Using
EDID
[ 77975.468] (**) NVIDIA(0):     frequencies has been enabled on all display
devices.)
[ 78000.505] (II) NVIDIA(GPU-0): Display (LG Electronics LX20D (DFP-0)) does
not support NVIDIA
[ 78000.520] (II) NVIDIA(GPU-0):     3D Vision stereo.
[ 78000.536] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[ 78000.552] (**) NVIDIA(0):     device LG Electronics LX20D (DFP-0) (Using
EDID
[ 78000.568] (**) NVIDIA(0):     frequencies has been enabled on all display
devices.)
^^^^^^^^^^ /var/log/Xorg.0.log ^^^^^^^^^^

<<<<<<<<<< /var/log/Xorg.1.log >>>>>>>>>>
[   206.690]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[   206.690] X Protocol Version 11, Revision 0
[   206.690] Build Operating System: Linux 4.9.0-4-amd64 i686 Debian
[   206.690] Current Operating System: Linux kallio 4.9.0-5-686-pae #1 SMP
Debian 4.9.65-3+deb9u2 (2018-01-04) i686
[   206.690] Kernel command line: BOOT_IMAGE=/vmlinuz-4.9.0-5-686-pae
root=/dev/mapper/vgsys-root ro quiet rootdelay=3 splash vmalloc=512M
[   206.690] Build Date: 16 October 2017  08:12:56AM
[   206.690] xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support)
[   206.690] Current version of pixman: 0.34.0
[   206.690]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   206.690] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   206.690] (==) Log file: "/var/log/Xorg.1.log", Time: Tue Jan 16 21:04:45
2018
[   206.691] (==) Using config file: "/etc/X11/xorg.conf"
[   206.691] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   206.691] (==) ServerLayout "Layout"
[   206.691] (**) |-->Screen "Main Display" (0)
[   206.691] (**) |   |-->Monitor "LG LCD Panel"
[   206.691] (**) |   |-->Device "NVIDIA GPU GeForce GTS 250 - DVI"
[   206.691] (**) |-->Screen "Wall Projector" (1)
[   206.691] (**) |   |-->Monitor "EPSON Projector"
[   206.691] (**) |   |-->Device "NVIDIA GPU GeForce GTS 250 - HDMI"
[   206.691] (**) |-->Screen "Secondary Display" (2)
[   206.691] (**) |   |-->Monitor "IBM LCD Panel"
[   206.691] (**) |   |-->Device "NVIDIA GPU GeForce 7200 GS - DVI"
[   206.692] (**) |-->Screen "TV Screen" (3)
[   206.692] (**) |   |-->Monitor "Sony CRT TV"
[   206.692] (**) |   |-->Device "NVIDIA GPU GeForce 7200 GS - S-Video"
[   206.692] (**) |-->Input Device "Generic Keyboard"
[   206.692] (**) |-->Input Device "Configured Mouse"
[   206.692] (**) Option "AllowMouseOpenFail" "1"
[   206.692] (**) Option "BlankTime" "10"
[   206.692] (**) Option "StandbyTime" "20"
[   206.692] (**) Option "SuspendTime" "30"
[   206.692] (**) Option "OffTime" "40"
[   206.692] (**) Option "Xinerama" "0"
[   206.692] (==) Automatically adding devices
[   206.692] (==) Automatically enabling devices
[   206.692] (==) Automatically adding GPU devices
[   206.692] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   206.692] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   206.692]    Entry deleted from font path.
[   206.692] (**) FontPath set to:
        /usr/share/fonts/X11/misc:unscaled,
        /usr/share/fonts/X11/100dpi:unscaled,
        /usr/share/fonts/X11/75dpi:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        unix/:7100,
        /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
[   206.692] (==) ModulePath set to "/usr/lib/xorg/modules"
[   206.692] (**) Extension "Composite" is enabled
[   206.692] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or
'vmmouse' will be disabled.
[   206.692] (WW) Disabling Generic Keyboard
[   206.692] (WW) Disabling Configured Mouse
[   206.692] (II) Loader magic: 0x6ad720
[   206.692] (II) Module ABI versions:
[   206.692]    X.Org ANSI C Emulation: 0.4
[   206.692]    X.Org Video Driver: 23.0
[   206.692]    X.Org XInput driver : 24.1
[   206.692]    X.Org Server Extension : 10.0
[   206.693] (++) using VT number 8

[   206.693] (II) systemd-logind: logind integration requires -keeptty and
-keeptty was not provided, disabling logind integration
[   206.693] (II) xfree86: Adding drm device (/dev/dri/card0)
[   206.693] (II) xfree86: Adding drm device (/dev/dri/card1)
[   206.694] (--) PCI:*(0:1:0:0) 10de:0615:1043:830b rev 162, Mem @
0xf3000000/16777216, 0xb0000000/268435456, 0xf0000000/33554432, I/O @
0x0000bc00/128, BIOS @ 0x????????/131072
[   206.694] (--) PCI: (0:6:0:0) 10de:01d3:10de:0411 rev 161, Mem @
0xf6000000/16777216, 0xd0000000/268435456, 0xf5000000/16777216, BIOS @
0x????????/131072
[   206.694] (II) LoadModule: "glx"
[   206.695] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[   206.711] (II) Module glx: vendor="NVIDIA Corporation"
[   206.711]    compiled for 4.0.2, module version = 1.0.0
[   206.711]    Module class: X.Org Server Extension
[   206.711] (II) NVIDIA GLX Module  304.137  Thu Sep 14 13:13:03 PDT 2017
[   206.711] (II) LoadModule: "nvidia"
[   206.711] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   206.712] (II) Module nvidia: vendor="NVIDIA Corporation"
[   206.712]    compiled for 4.0.2, module version = 1.0.0
[   206.712]    Module class: X.Org Video Driver
[   206.712] (II) NVIDIA dlloader X Driver  304.137  Thu Sep 14 12:51:09 PDT
2017
[   206.712] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   206.712] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[   206.712] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[   207.213] (II) Loading sub module "fb"
[   207.213] (II) LoadModule: "fb"
[   207.213] (II) Loading /usr/lib/xorg/modules/libfb.so
[   207.213] (II) Module fb: vendor="X.Org Foundation"
[   207.213]    compiled for 1.19.2, module version = 1.0.0
[   207.213]    ABI class: X.Org ANSI C Emulation, version 0.4
[   207.213] (II) Loading sub module "wfb"
[   207.213] (II) LoadModule: "wfb"
[   207.213] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   207.213] (II) Module wfb: vendor="X.Org Foundation"
[   207.213]    compiled for 1.19.2, module version = 1.0.0
[   207.213]    ABI class: X.Org ANSI C Emulation, version 0.4
[   207.214] (II) Loading sub module "ramdac"
[   207.214] (II) LoadModule: "ramdac"
[   207.214] (II) Module "ramdac" already built-in
[   207.214] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   207.214] (==) NVIDIA(0): RGB weight 888
[   207.214] (==) NVIDIA(0): Default visual is TrueColor
[   207.214] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   207.214] (**) NVIDIA(0): Option "UseDisplayDevice" "DFP-0"
[   207.214] (**) NVIDIA(1): Option "UseDisplayDevice" "DFP-1"
[   207.214] (**) NVIDIA(0): Enabling 2D acceleration
[   207.307] (II) NVIDIA(GPU-0): Display (LG Electronics LX20D (DFP-0)) does
not support NVIDIA
[   207.307] (II) NVIDIA(GPU-0):     3D Vision stereo.
[   207.311] (II) NVIDIA(0): NVIDIA GPU GeForce GTS 250 (G92) at PCI:1:0:0
(GPU-0)
[   207.311] (--) NVIDIA(0): Memory: 524288 kBytes
[   207.311] (--) NVIDIA(0): VideoBIOS: 62.92.5d.00.01
[   207.311] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   207.311] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[   207.314] (--) NVIDIA(0): Valid display device(s) on GeForce GTS 250 at
PCI:1:0:0
[   207.314] (--) NVIDIA(0):     CRT-0
[   207.314] (--) NVIDIA(0):     CRT-1
[   207.314] (--) NVIDIA(0):     LG Electronics LX20D (DFP-0) (connected)
[   207.314] (--) NVIDIA(0):     DFP-1
[   207.314] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[   207.314] (--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
[   207.314] (--) NVIDIA(0): LG Electronics LX20D (DFP-0): 330.0 MHz maximum
pixel clock
[   207.314] (--) NVIDIA(0): LG Electronics LX20D (DFP-0): Internal Dual Link
TMDS
[   207.314] (--) NVIDIA(0): DFP-1: 165.0 MHz maximum pixel clock
[   207.314] (--) NVIDIA(0): DFP-1: Internal Single Link TMDS
[   207.314] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID
for display
[   207.314] (**) NVIDIA(0):     device LG Electronics LX20D (DFP-0) (Using
EDID
[   207.314] (**) NVIDIA(0):     frequencies has been enabled on all display
devices.)
[   207.317] (II) NVIDIA(0): Validated MetaModes:
[   207.317] (II) NVIDIA(0):     "DFP-0:1600x1200"
[   207.317] (II) NVIDIA(0):     "DFP-0:1280x1024"
[   207.317] (II) NVIDIA(0):     "DFP-0:1024x768"
[   207.317] (II) NVIDIA(0):     "DFP-0:800x600"
[   207.317] (II) NVIDIA(0): Virtual screen size determined to be 1600 x 1200
[   207.339] (--) NVIDIA(0): DPI set to (99, 98); computed from "UseEdidDpi" X
config
[   207.340] (--) NVIDIA(0):     option
[   207.340] (**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
[   207.340] (==) NVIDIA(1): RGB weight 888
[   207.340] (==) NVIDIA(1): Default visual is TrueColor
[   207.340] (==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
[   207.340] (**) NVIDIA(1): Option "DPI" "100x100"
[   207.340] (II) NVIDIA(1): NVIDIA GPU GeForce GTS 250 (G92) at PCI:1:0:0
(GPU-0)
[   207.340] (--) NVIDIA(1): Memory: 524288 kBytes
[   207.340] (--) NVIDIA(1): VideoBIOS: 62.92.5d.00.01
[   207.340] (II) NVIDIA(1): Detected PCI Express Link width: 16X
[   207.340] (--) NVIDIA(1): Interlaced video modes are supported on this GPU
[   207.343] (--) NVIDIA(1): Valid display device(s) on GeForce GTS 250 at
PCI:1:0:0
[   207.343] (--) NVIDIA(1):     CRT-0
[   207.343] (--) NVIDIA(1):     CRT-1
[   207.343] (--) NVIDIA(1):     LG Electronics LX20D (DFP-0) (connected)
[   207.343] (--) NVIDIA(1):     DFP-1
[   207.343] (--) NVIDIA(1): CRT-0: 400.0 MHz maximum pixel clock
[   207.343] (--) NVIDIA(1): CRT-1: 400.0 MHz maximum pixel clock
[   207.343] (--) NVIDIA(1): LG Electronics LX20D (DFP-0): 330.0 MHz maximum
pixel clock
[   207.343] (--) NVIDIA(1): LG Electronics LX20D (DFP-0): Internal Dual Link
TMDS
[   207.343] (--) NVIDIA(1): DFP-1: 165.0 MHz maximum pixel clock
[   207.343] (--) NVIDIA(1): DFP-1: Internal Single Link TMDS
[   207.343] (EE) NVIDIA(1): Failed to assign any connected display devices to
X screen 1
[   207.346] (EE) NVIDIA(1): Failing initialization of X screen 1
[   207.346] (**) NVIDIA(2): Depth 24, (--) framebuffer bpp 32
[   207.346] (==) NVIDIA(2): RGB weight 888
[   207.346] (==) NVIDIA(2): Default visual is TrueColor
[   207.346] (==) NVIDIA(2): Using gamma correction (1.0, 1.0, 1.0)
[   207.347] (**) NVIDIA(2): Option "UseDisplayDevice" "DFP-0"
[   207.347] (**) NVIDIA(3): Option "UseDisplayDevice" "TV-0"
[   207.347] (**) NVIDIA(2): Enabling 2D acceleration
[   207.610] (II) NVIDIA(GPU-1): Display (IBM L200P (DFP-0)) does not support
NVIDIA 3D Vision
[   207.610] (II) NVIDIA(GPU-1):     stereo.
[   207.614] (II) NVIDIA(2): NVIDIA GPU GeForce 7300 SE/7200 GS (G72) at
PCI:6:0:0 (GPU-1)
[   207.614] (--) NVIDIA(2): Memory: 524288 kBytes
[   207.614] (--) NVIDIA(2): VideoBIOS: 05.72.22.71.09
[   207.614] (II) NVIDIA(2): Detected PCI Express Link width: 16X
[   207.614] (--) NVIDIA(2): Interlaced video modes are supported on this GPU
[   207.615] (--) NVIDIA(2): Valid display device(s) on GeForce 7300 SE/7200 GS
at PCI:6:0:0
[   207.615] (--) NVIDIA(2):     CRT-0
[   207.615] (--) NVIDIA(2):     CRT-1
[   207.615] (--) NVIDIA(2):     NVIDIA TV Encoder (TV-0) (connected)
[   207.615] (--) NVIDIA(2):     IBM L200P (DFP-0) (connected)
[   207.615] (--) NVIDIA(2): CRT-0: 400.0 MHz maximum pixel clock
[   207.615] (--) NVIDIA(2): CRT-1: 400.0 MHz maximum pixel clock
[   207.615] (--) NVIDIA(2): NVIDIA TV Encoder (TV-0): 400.0 MHz maximum pixel
clock
[   207.615] (--) NVIDIA(2): TV encoder: NVIDIA
[   207.615] (--) NVIDIA(2): IBM L200P (DFP-0): 165.0 MHz maximum pixel clock
[   207.615] (--) NVIDIA(2): IBM L200P (DFP-0): Internal Single Link TMDS
[   207.615] (**) NVIDIA(2): Using HorizSync/VertRefresh ranges from the EDID
for display
[   207.615] (**) NVIDIA(2):     device IBM L200P (DFP-0) (Using EDID
frequencies has been
[   207.615] (**) NVIDIA(2):     enabled on all display devices.)
[   207.615] (II) NVIDIA(2): Validated MetaModes:
[   207.615] (II) NVIDIA(2):     "DFP-0:1600x1200"
[   207.615] (II) NVIDIA(2):     "DFP-0:1280x1024"
[   207.615] (II) NVIDIA(2):     "DFP-0:1024x768"
[   207.615] (II) NVIDIA(2):     "DFP-0:800x600"
[   207.615] (II) NVIDIA(2): Virtual screen size determined to be 1600 x 1200
[   207.617] (WW) NVIDIA(2): Unable to support custom viewPortOut 1600 x 900 +0
+150
[   207.617] (WW) NVIDIA(2): Unable to support custom viewPortOut 1600 x 900 +0
+150
[   207.618] (--) NVIDIA(2): DPI set to (99, 98); computed from "UseEdidDpi" X
config
[   207.618] (--) NVIDIA(2):     option
[   207.618] (**) NVIDIA(3): Depth 24, (--) framebuffer bpp 32
[   207.618] (==) NVIDIA(3): RGB weight 888
[   207.618] (==) NVIDIA(3): Default visual is TrueColor
[   207.618] (==) NVIDIA(3): Using gamma correction (1.0, 1.0, 1.0)
[   207.618] (**) NVIDIA(3): Option "TVStandard" "PAL-G"
[   207.618] (**) NVIDIA(3): Option "TVOverScan" "0.7"
[   207.618] (**) NVIDIA(3): TV Standard string: "PAL-G"
[   207.618] (II) NVIDIA(3): NVIDIA GPU GeForce 7300 SE/7200 GS (G72) at
PCI:6:0:0 (GPU-1)
[   207.618] (--) NVIDIA(3): Memory: 524288 kBytes
[   207.618] (--) NVIDIA(3): VideoBIOS: 05.72.22.71.09
[   207.618] (II) NVIDIA(3): Detected PCI Express Link width: 16X
[   207.618] (--) NVIDIA(3): Interlaced video modes are supported on this GPU
[   207.618] (--) NVIDIA(3): Valid display device(s) on GeForce 7300 SE/7200 GS
at PCI:6:0:0
[   207.618] (--) NVIDIA(3):     CRT-0
[   207.618] (--) NVIDIA(3):     CRT-1
[   207.618] (--) NVIDIA(3):     NVIDIA TV Encoder (TV-0) (connected)
[   207.618] (--) NVIDIA(3):     IBM L200P (DFP-0) (connected)
[   207.618] (--) NVIDIA(3): CRT-0: 400.0 MHz maximum pixel clock
[   207.618] (--) NVIDIA(3): CRT-1: 400.0 MHz maximum pixel clock
[   207.618] (--) NVIDIA(3): NVIDIA TV Encoder (TV-0): 400.0 MHz maximum pixel
clock
[   207.618] (--) NVIDIA(3): TV encoder: NVIDIA
[   207.618] (--) NVIDIA(3): IBM L200P (DFP-0): 165.0 MHz maximum pixel clock
[   207.618] (--) NVIDIA(3): IBM L200P (DFP-0): Internal Single Link TMDS
[   207.618] (**) NVIDIA(3): Using HorizSync/VertRefresh ranges from the EDID
for display
[   207.618] (**) NVIDIA(3):     device NVIDIA TV Encoder (TV-0) (Using EDID
frequencies
[   207.618] (**) NVIDIA(3):     has been enabled on all display devices.)
[   207.618] (II) NVIDIA(3): Validated MetaModes:
[   207.618] (II) NVIDIA(3):     "TV-0:720x576"
[   207.618] (II) NVIDIA(3): Virtual screen size determined to be 720 x 576
[   207.619] (WW) NVIDIA(3): Unable to support custom viewPortOut 1024 x 576 +0
+96
[   207.619] (==) NVIDIA(3): DPI set to (75, 75); computed from built-in
default
[   207.619] (II) UnloadModule: "nvidia"
[   207.619] (II) UnloadSubModule: "wfb"
[   207.619] (II) UnloadSubModule: "fb"
[   207.619] (--) Depth 24 pixmap format is 32 bpp
[   207.619] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory
access.
[   207.629] (II) NVIDIA(0): Setting mode "DFP-0:1600x1200"
[   207.694] (==) NVIDIA(0): Disabling shared memory pixmaps
[   207.695] (==) NVIDIA(0): Backing store enabled
[   207.695] (==) NVIDIA(0): Silken mouse enabled
[   207.695] (**) NVIDIA(0): DPMS enabled
[   207.695] (WW) NVIDIA(0): Option "Primary" is not used
[   207.695] (II) Loading sub module "dri2"
[   207.695] (II) LoadModule: "dri2"
[   207.695] (II) Module "dri2" already built-in
[   207.695] (II) NVIDIA(0): [DRI2] Setup complete
[   207.695] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   207.696] (--) RandR disabled
[   207.707] (II) NVIDIA(1): Setting mode "DFP-0:1600x1200"
[   207.886] (==) NVIDIA(1): Disabling shared memory pixmaps
[   207.886] (==) NVIDIA(1): Backing store enabled
[   207.886] (==) NVIDIA(1): Silken mouse enabled
[   207.886] (**) NVIDIA(1): DPMS enabled
[   207.886] (II) Loading sub module "dri2"
[   207.886] (II) LoadModule: "dri2"
[   207.886] (II) Module "dri2" already built-in
[   207.886] (II) NVIDIA(1): [DRI2] Setup complete
[   207.886] (II) NVIDIA(1): [DRI2]   VDPAU driver: nvidia
[   207.886] (--) RandR disabled
[   207.895] (II) NVIDIA(2): Setting mode "TV-0:720x576"
[   208.146] (II) NVIDIA(2): Built-in logo is bigger than the screen.
[   208.172] (==) NVIDIA(2): Disabling shared memory pixmaps
[   208.172] (==) NVIDIA(2): Backing store enabled
[   208.172] (==) NVIDIA(2): Silken mouse enabled
[   208.172] (**) NVIDIA(2): DPMS enabled
[   208.173] (II) Loading sub module "dri2"
[   208.173] (II) LoadModule: "dri2"
[   208.173] (II) Module "dri2" already built-in
[   208.173] (II) NVIDIA(2): [DRI2] Setup complete
[   208.173] (II) NVIDIA(2): [DRI2]   VDPAU driver: nvidia
[   208.173] (--) RandR disabled
[   208.181] (II) SELinux: Disabled on system
[   208.182] (II) Initializing extension GLX
[   208.182] (II) Indirect GLX disabled.(II) config/udev: Adding input device
Power Button (/dev/input/event1)
[   208.788] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   208.788] (**) Power Button: Applying InputClass "libinput keyboard
catchall"
[   208.788] (II) LoadModule: "libinput"
[   208.788] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   208.790] (II) Module libinput: vendor="X.Org Foundation"
[   208.790]    compiled for 1.19.0, module version = 0.23.0
[   208.790]    Module class: X.Org XInput Driver
[   208.790]    ABI class: X.Org XInput driver, version 24.1
[   208.790] (II) Using input driver 'libinput' for 'Power Button'
[   208.790] (**) Power Button: always reports core events
[   208.790] (**) Option "Device" "/dev/input/event1"
[   208.790] (**) Option "_source" "server/udev"
[   208.790] (II) input device 'Power Button', /dev/input/event1 is tagged by
udev as: Keyboard
[   208.790] (II) input device 'Power Button', /dev/input/event1 is a keyboard
[   208.804] (**) Option "config_info"
"udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event1"
[   208.804] (II) XINPUT: Adding extended input device "Power Button" (type:
KEYBOARD, id 6)
[   208.804] (**) Option "xkb_model" "pc105"
[   208.804] (**) Option "xkb_layout" "fi"
[   208.804] (**) Option "xkb_options" "compose:rwin,terminate:ctrl_alt_bksp"
[   208.823] (II) input device 'Power Button', /dev/input/event1 is tagged by
udev as: Keyboard
[   208.823] (II) input device 'Power Button', /dev/input/event1 is a keyboard
[   208.823] (II) config/udev: Adding input device Power Button
(/dev/input/event0)
[   208.823] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   208.823] (**) Power Button: Applying InputClass "libinput keyboard
catchall"
[   208.823] (II) Using input driver 'libinput' for 'Power Button'
[   208.823] (**) Power Button: always reports core events
[   208.823] (**) Option "Device" "/dev/input/event0"
[   208.823] (**) Option "_source" "server/udev"
[   208.823] (II) input device 'Power Button', /dev/input/event0 is tagged by
udev as: Keyboard
[   208.823] (II) input device 'Power Button', /dev/input/event0 is a keyboard
[   208.844] (**) Option "config_info"
"udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event0"
[   208.844] (II) XINPUT: Adding extended input device "Power Button" (type:
KEYBOARD, id 7)
[   208.844] (**) Option "xkb_model" "pc105"
[   208.844] (**) Option "xkb_layout" "fi"
[   208.844] (**) Option "xkb_options" "compose:rwin,terminate:ctrl_alt_bksp"
[   208.844] (II) input device 'Power Button', /dev/input/event0 is tagged by
udev as: Keyboard
[   208.844] (II) input device 'Power Button', /dev/input/event0 is a keyboard
[   208.845] (II) config/udev: Adding input device Logitech USB-PS/2 Optical
Mouse (/dev/input/event5)
[   208.845] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "evdev
pointer catchall"
[   208.845] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass
"libinput pointer catchall"
[   208.845] (II) Using input driver 'libinput' for 'Logitech USB-PS/2 Optical
Mouse'
[   208.845] (**) Logitech USB-PS/2 Optical Mouse: always reports core events
[   208.845] (**) Option "Device" "/dev/input/event5"
[   208.845] (**) Option "_source" "server/udev"
[   208.904] (II) input device 'Logitech USB-PS/2 Optical Mouse',
/dev/input/event5 is tagged by udev as: Mouse
[   208.904] (II) input device 'Logitech USB-PS/2 Optical Mouse',
/dev/input/event5 is a pointer caps
[   208.936] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/0003:046D:C044.0008/input/input8/event5"
[   208.936] (II) XINPUT: Adding extended input device "Logitech USB-PS/2
Optical Mouse" (type: MOUSE, id 8)
[   208.936] (**) Option "AccelerationScheme" "none"
[   208.936] (**) Logitech USB-PS/2 Optical Mouse: (accel) selected scheme
none/0
[   208.936] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration factor:
2.000
[   208.936] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration
threshold: 4
[   208.996] (II) input device 'Logitech USB-PS/2 Optical Mouse',
/dev/input/event5 is tagged by udev as: Mouse
[   208.996] (II) input device 'Logitech USB-PS/2 Optical Mouse',
/dev/input/event5 is a pointer caps
[   208.996] (II) config/udev: Adding input device Logitech USB-PS/2 Optical
Mouse (/dev/input/mouse1)
[   208.996] (II) No input driver specified, ignoring this device.
[   208.996] (II) This device may have been added with another device file.
[   208.997] (II) config/udev: Adding input device HDA Digital PCBeep
(/dev/input/event7)
[   208.997] (II) No input driver specified, ignoring this device.
[   208.997] (II) This device may have been added with another device file.
[   208.997] (II) config/udev: Adding input device HDA Intel MID Rear Mic
(/dev/input/event8)
[   208.997] (II) No input driver specified, ignoring this device.
[   208.997] (II) This device may have been added with another device file.
[   208.997] (II) config/udev: Adding input device HDA Intel MID Line
(/dev/input/event9)
[   208.997] (II) No input driver specified, ignoring this device.
[   208.997] (II) This device may have been added with another device file.
[   208.997] (II) config/udev: Adding input device HDA Intel MID Line Out Front
(/dev/input/event10)
[   208.997] (II) No input driver specified, ignoring this device.
[   208.997] (II) This device may have been added with another device file.
[   208.998] (II) config/udev: Adding input device HDA Intel MID Line Out
Surround (/dev/input/event11)
[   208.998] (II) No input driver specified, ignoring this device.
[   208.998] (II) This device may have been added with another device file.
[   208.998] (II) config/udev: Adding input device HDA Intel MID Line Out CLFE
(/dev/input/event12)
[   208.998] (II) No input driver specified, ignoring this device.
[   208.998] (II) This device may have been added with another device file.
[   208.998] (II) config/udev: Adding input device HDA Intel MID Line Out Side
(/dev/input/event13)
[   208.998] (II) No input driver specified, ignoring this device.
[   208.998] (II) This device may have been added with another device file.
[   208.999] (II) config/udev: Adding input device HID 04f3:0103
(/dev/input/event2)
[   208.999] (**) HID 04f3:0103: Applying InputClass "evdev keyboard catchall"
[   208.999] (**) HID 04f3:0103: Applying InputClass "libinput keyboard
catchall"
[   208.999] (II) Using input driver 'libinput' for 'HID 04f3:0103'
[   208.999] (**) HID 04f3:0103: always reports core events
[   208.999] (**) Option "Device" "/dev/input/event2"
[   208.999] (**) Option "_source" "server/udev"
[   208.999] (II) input device 'HID 04f3:0103', /dev/input/event2 is tagged by
udev as: Keyboard
[   208.999] (II) input device 'HID 04f3:0103', /dev/input/event2 is a keyboard
[   209.020] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/0003:04F3:0103.0001/input/input5/event2"
[   209.020] (II) XINPUT: Adding extended input device "HID 04f3:0103" (type:
KEYBOARD, id 9)
[   209.020] (**) Option "xkb_model" "pc105"
[   209.020] (**) Option "xkb_layout" "fi"
[   209.020] (**) Option "xkb_options" "compose:rwin,terminate:ctrl_alt_bksp"
[   209.020] (II) input device 'HID 04f3:0103', /dev/input/event2 is tagged by
udev as: Keyboard
[   209.020] (II) input device 'HID 04f3:0103', /dev/input/event2 is a keyboard
[   209.021] (II) config/udev: Adding input device HID 04f3:0103
(/dev/input/event3)
[   209.021] (**) HID 04f3:0103: Applying InputClass "evdev keyboard catchall"
[   209.021] (**) HID 04f3:0103: Applying InputClass "libinput keyboard
catchall"
[   209.021] (II) Using input driver 'libinput' for 'HID 04f3:0103'
[   209.021] (**) HID 04f3:0103: always reports core events
[   209.021] (**) Option "Device" "/dev/input/event3"
[   209.021] (**) Option "_source" "server/udev"
[   209.021] (II) input device 'HID 04f3:0103', /dev/input/event3 is tagged by
udev as: Keyboard
[   209.021] (II) input device 'HID 04f3:0103', /dev/input/event3 is a keyboard
[   209.036] (II) libinput: HID 04f3:0103: needs a virtual subdevice
[   209.036] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.1/0003:04F3:0103.0002/input/input6/event3"
[   209.036] (II) XINPUT: Adding extended input device "HID 04f3:0103" (type:
MOUSE, id 10)
[   209.036] (**) Option "AccelerationScheme" "none"
[   209.036] (**) HID 04f3:0103: (accel) selected scheme none/0
[   209.036] (**) HID 04f3:0103: (accel) acceleration factor: 2.000
[   209.036] (**) HID 04f3:0103: (accel) acceleration threshold: 4
[   209.036] (II) input device 'HID 04f3:0103', /dev/input/event3 is tagged by
udev as: Keyboard
[   209.036] (II) input device 'HID 04f3:0103', /dev/input/event3 is a keyboard
[   209.037] (II) config/udev: Adding input device Logitech Performance MX
(/dev/input/event4)
[   209.037] (**) Logitech Performance MX: Applying InputClass "evdev pointer
catchall"
[   209.037] (**) Logitech Performance MX: Applying InputClass "libinput
pointer catchall"
[   209.037] (II) Using input driver 'libinput' for 'Logitech Performance MX'
[   209.037] (**) Logitech Performance MX: always reports core events
[   209.037] (**) Option "Device" "/dev/input/event4"
[   209.037] (**) Option "_source" "server/udev"
[   209.037] (II) input device 'Logitech Performance MX', /dev/input/event4 is
tagged by udev as: Mouse
[   209.037] (II) Device 'Logitech Performance MX' set to 1000 DPI
[   209.037] (II) input device 'Logitech Performance MX', /dev/input/event4 is
a pointer caps
[   209.068] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.2/0003:046D:C52B.0006/0003:046D:101A.0007/input/input7/event4"
[   209.068] (II) XINPUT: Adding extended input device "Logitech Performance
MX" (type: MOUSE, id 11)
[   209.068] (**) Option "AccelerationScheme" "none"
[   209.068] (**) Logitech Performance MX: (accel) selected scheme none/0
[   209.068] (**) Logitech Performance MX: (accel) acceleration factor: 2.000
[   209.068] (**) Logitech Performance MX: (accel) acceleration threshold: 4
[   209.068] (II) input device 'Logitech Performance MX', /dev/input/event4 is
tagged by udev as: Mouse
[   209.068] (II) Device 'Logitech Performance MX' set to 1000 DPI
[   209.068] (II) input device 'Logitech Performance MX', /dev/input/event4 is
a pointer caps
[   209.069] (II) config/udev: Adding input device Logitech Performance MX
(/dev/input/mouse0)
[   209.069] (II) No input driver specified, ignoring this device.
[   209.069] (II) This device may have been added with another device file.
[   209.069] (II) config/udev: Adding input device PC Speaker
(/dev/input/event6)
[   209.069] (II) No input driver specified, ignoring this device.
[   209.069] (II) This device may have been added with another device file.
[   209.072] (**) HID 04f3:0103: Applying InputClass "evdev keyboard catchall"
[   209.072] (**) HID 04f3:0103: Applying InputClass "libinput keyboard
catchall"
[   209.072] (II) Using input driver 'libinput' for 'HID 04f3:0103'
[   209.072] (**) HID 04f3:0103: always reports core events
[   209.072] (**) Option "Device" "/dev/input/event3"
[   209.072] (**) Option "_source" "_driver/libinput"
[   209.072] (II) libinput: HID 04f3:0103: is a virtual subdevice
[   209.072] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.1/0003:04F3:0103.0002/input/input6/event3"
[   209.072] (II) XINPUT: Adding extended input device "HID 04f3:0103" (type:
KEYBOARD, id 12)
[   209.072] (**) Option "xkb_model" "pc105"
[   209.072] (**) Option "xkb_layout" "fi"
[   209.072] (**) Option "xkb_options" "compose:rwin,terminate:ctrl_alt_bksp"
^^^^^^^^^^ /var/log/Xorg.1.log ^^^^^^^^^^

<<<<<<<<<< Xorg (journald) >>>>>>>>>>
^^^^^^^^^^ Xorg (journald) ^^^^^^^^^^

Kernel modules: nvidia.ko
/lib/modules/4.9.0-5-686-pae/updates/dkms/nvidia-legacy-304xx.ko

filename:       /lib/modules/4.9.0-5-686-pae/updates/dkms/nvidia-
legacy-304xx.ko
alias:          char-major-195-*
version:        304.137
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
vermagic:       4.9.0-5-686-pae SMP mod_unload modversions 686

lsmod:
Module                  Size  Used by
nls_utf8               16384  1
cifs                  516096  2
cmac                   16384  0
md4                    16384  0
des_generic            24576  0
arc4                   16384  0
dns_resolver           16384  1 cifs
fscache                45056  1 cifs
binfmt_misc            20480  1
fuse                   90112  3
xt_REDIRECT            16384  1
nf_nat_redirect        16384  1 xt_REDIRECT
ipt_MASQUERADE         16384  5
nf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADE
tcp_diag               16384  0
inet_diag              20480  1 tcp_diag
xt_iprange             16384  44
xt_AUDIT               16384  0
iptable_nat            16384  1
nf_nat_ipv4            16384  1 iptable_nat
ipt_REJECT             16384  4
nf_reject_ipv4         16384  1 ipt_REJECT
xt_recent              20480  2
ip6table_nat           16384  0
nf_nat_ipv6            16384  1 ip6table_nat
xt_comment             16384  48
ip6t_REJECT            16384  4
nf_reject_ipv6         16384  1 ip6t_REJECT
xt_addrtype            16384  5
ip6table_mangle        16384  1
xt_mark                16384  2
iptable_mangle         16384  1
xt_tcpudp              16384  98
iptable_raw            16384  1
nf_conntrack_ipv4      16384  112
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
xt_CT                  16384  36
nf_log_ipv4            16384  0
nf_nat_tftp            16384  0
ip6table_raw           16384  1
nf_nat_snmp_basic      20480  0
nf_conntrack_snmp      16384  3 nf_nat_snmp_basic
nf_nat_sip             20480  0
nf_conntrack_ipv6      20480  29
nf_defrag_ipv6         24576  1 nf_conntrack_ipv6
nf_nat_irc             16384  0
xt_conntrack           16384  103
nf_nat_h323            20480  0
nf_nat_ftp             16384  0
xt_NFLOG               16384  57
nf_nat_amanda          16384  0
xt_LOG                 16384  8
nf_log_ipv6            16384  8
nf_log_common          16384  2 nf_log_ipv6,nf_log_ipv4
nf_conntrack_tftp      16384  5 nf_nat_tftp
nf_conntrack_sip       24576  5 nf_nat_sip
nf_conntrack_sane      16384  4
xt_multiport           16384  8
nf_conntrack_proto_udplite    16384  0
nf_conntrack_proto_sctp    20480  0
nf_conntrack_netlink    36864  0
nf_conntrack_netbios_ns    16384  2
nf_conntrack_broadcast    16384  2 nf_conntrack_snmp,nf_conntrack_netbios_ns
nf_conntrack_irc       16384  3 nf_nat_irc
nf_conntrack_h323      57344  9 nf_nat_h323
ts_kmp                 16384  5
nf_conntrack_ftp       16384  5 nf_nat_ftp
nf_conntrack_amanda    16384  5 nf_nat_amanda
pktcdvd                36864  1
tun                    28672  4
ip6table_filter        16384  1
ip6_tables             20480  4
ip6table_mangle,ip6table_filter,ip6table_raw,ip6table_nat
nfnetlink_log          20480  2 xt_NFLOG
nfnetlink              16384  3 nfnetlink_log,nf_conntrack_netlink
iptable_filter         16384  1
joydev                 20480  0
tda10023               16384  1
snd_hda_codec_via      20480  1
snd_hda_codec_generic    65536  1 snd_hda_codec_via
snd_hda_intel          28672  5
intel_powerclamp       16384  0
snd_hda_codec          94208  3
snd_hda_intel,snd_hda_codec_generic,snd_hda_codec_via
coretemp               16384  0
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
snd_hda_core           57344  4
snd_hda_intel,snd_hda_codec,snd_hda_codec_generic,snd_hda_codec_via
kvm_intel             188416  0
snd_hwdep              16384  1 snd_hda_codec
kvm                   450560  1 kvm_intel
snd_pcm_oss            45056  0
budget_av              28672  14
saa7146_vv             57344  1 budget_av
snd_mixer_oss          24576  1 snd_pcm_oss
budget_core            20480  1 budget_av
snd_pcm                86016  5
snd_pcm_oss,snd_hda_intel,snd_hda_codec,snd_hda_core
irqbypass              16384  1 kvm
ttpci_eeprom           16384  1 budget_core
snd_timer              28672  1 snd_pcm
saa7146                28672  3 budget_av,saa7146_vv,budget_core
videobuf_dma_sg        20480  1 saa7146_vv
intel_cstate           16384  0
videobuf_core          24576  2 saa7146_vv,videobuf_dma_sg
dvb_core               98304  2 budget_av,budget_core
snd                    57344  18
snd_pcm_oss,snd_hda_intel,snd_hwdep,snd_mixer_oss,snd_hda_codec,snd_timer,snd_hda_codec_generic,snd_pcm,snd_hda_codec_via
v4l2_common            16384  1 saa7146_vv
intel_uncore           86016  0
asus_atk0110           20480  0
videodev              131072  2 v4l2_common,saa7146_vv
pcspkr                 16384  0
media                  28672  1 videodev
serio_raw              16384  0
sg                     32768  0
lpc_ich                20480  0
evdev                  20480  18
mfd_core               16384  1 lpc_ich
soundcore              16384  1 snd
shpchp                 32768  0
nf_nat_pptp            16384  0
nf_nat_proto_gre       16384  1 nf_nat_pptp
nf_conntrack_pptp      16384  3 nf_nat_pptp
nf_conntrack_proto_gre    16384  1 nf_conntrack_pptp
nf_nat                 20480  12
nf_nat_pptp,nf_nat_proto_gre,nf_nat_h323,nf_nat_sip,nf_nat_irc,nf_nat_redirect,nf_nat_ftp,nf_nat_amanda,nf_nat_ipv6,nf_nat_masquerade_ipv4,nf_nat_ipv4,nf_nat_tftp
nf_conntrack           77824  31
nf_nat_pptp,nf_conntrack_sip,nf_conntrack_snmp,nf_conntrack_proto_sctp,nf_conntrack_irc,nf_nat_h323,nf_conntrack_ipv6,nf_conntrack_ftp,nf_nat_snmp_basic,nf_nat_sip,nf_conntrack_ipv4,nf_conntrack_tftp,nf_nat_irc,nf_conntrack_pptp,nf_conntrack_amanda,nf_conntrack_broadcast,nf_nat_ftp,nf_conntrack_sane,nf_nat_amanda,nf_conntrack_netlink,nf_conntrack_proto_udplite,nf_conntrack_netbios_ns,nf_conntrack_proto_gre,xt_CT,nf_nat_ipv6,nf_nat_masquerade_ipv4,nf_conntrack_h323,xt_conntrack,nf_nat_ipv4,nf_nat_tftp,nf_nat
nvidia              10326016  235
drm                   253952  5 nvidia
parport_pc             28672  0
ppdev                  20480  0
lp                     20480  0
parport                40960  3 lp,parport_pc,ppdev
ip_tables              20480  4
iptable_mangle,iptable_filter,iptable_raw,iptable_nat
x_tables               20480  24
xt_comment,xt_LOG,xt_AUDIT,xt_multiport,ipt_REJECT,iptable_mangle,ip_tables,iptable_filter,xt_mark,xt_tcpudp,iptable_raw,ipt_MASQUERADE,ip6t_REJECT,ip6table_mangle,xt_recent,ip6table_filter,xt_addrtype,xt_iprange,xt_CT,ip6table_raw,xt_conntrack,ip6_tables,xt_REDIRECT,xt_NFLOG
autofs4                36864  4
ext4                  499712  5
crc16                  16384  1 ext4
jbd2                   77824  1 ext4
fscrypto               24576  1 ext4
ecb                    16384  0
mbcache                16384  6 ext4
btrfs                1044480  1
crc32c_generic         16384  0
xor                    28672  1 btrfs
raid6_pq              106496  1 btrfs
algif_skcipher         20480  0
af_alg                 16384  1 algif_skcipher
dm_crypt               24576  3
sr_mod                 24576  1
cdrom                  49152  2 pktcdvd,sr_mod
ata_generic            16384  0
dm_mod                 94208  27 dm_crypt
hid_logitech_hidpp     28672  0
hid_logitech_dj        20480  0
sd_mod                 40960  8
hid_generic            16384  0
usbhid                 45056  1
hid                    94208  4
hid_generic,usbhid,hid_logitech_dj,hid_logitech_hidpp
firewire_ohci          36864  0
crc32_pclmul           16384  0
crc32c_intel           16384  3
aesni_intel            20480  12
aes_i586               20480  1 aesni_intel
xts                    16384  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               20480  2 lrw,xts
ablk_helper            16384  1 aesni_intel
cryptd                 20480  4 ablk_helper
psmouse               118784  0
pata_jmicron           16384  0
ahci                   36864  9
libahci                28672  1 ahci
firewire_core          57344  1 firewire_ohci
crc_itu_t              16384  1 firewire_core
i2c_i801               24576  0
libata                192512  4 ahci,libahci,pata_jmicron,ata_generic
i2c_smbus              16384  1 i2c_i801
scsi_mod              180224  4 sd_mod,libata,sr_mod,sg
ehci_pci               16384  0
r8169                  73728  0
mii                    16384  1 r8169
ehci_hcd               65536  1 ehci_pci
usbcore               184320  4 usbhid,ehci_hcd,ehci_pci
usb_common             16384  1 usbcore
button                 16384  0

xrandr:
Screen 0: minimum 8 x 8, current 1600 x 1200, 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 1600x1200+0+0 (normal left inverted right x axis y axis)
408mm x 306mm
   1600x1200     60.00*+
   1280x1024     75.02    60.02
   1152x864      75.00
   1024x768      75.03    60.00
   800x600       75.00    60.32
   640x480       75.00    72.81    59.95    59.94
HDMI-0 disconnected (normal left inverted right x axis y axis)

OpenCL ICDs:



-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Foreign Architectures: amd64

Kernel: Linux 4.9.0-5-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages nvidia-legacy-304xx-kernel-dkms depends on:
ii  dkms                                                       2.3-2
ii  nvidia-installer-cleanup                                   20151021+4
ii  nvidia-legacy-304xx-kernel-support [nvidia-legacy-304xx-k  304.137-3~bpo9+1

Versions of packages nvidia-legacy-304xx-kernel-dkms recommends:
ii  nvidia-legacy-304xx-driver  304.137-3~bpo9+1

nvidia-legacy-304xx-kernel-dkms suggests no packages.

Versions of packages nvidia-legacy-304xx-driver depends on:
ii  nvidia-installer-cleanup                20151021+4
ii  nvidia-legacy-304xx-alternative         304.137-3~bpo9+1
ii  nvidia-legacy-304xx-driver-bin          304.137-3~bpo9+1
ii  nvidia-legacy-304xx-driver-libs         304.137-3~bpo9+1
ii  nvidia-legacy-304xx-vdpau-driver        304.137-3~bpo9+1
ii  nvidia-support                          20151021+4
ii  xserver-xorg-video-nvidia-legacy-304xx  304.137-3~bpo9+1

Versions of packages nvidia-legacy-304xx-driver recommends:
pn  nvidia-persistenced           <none>
pn  nvidia-settings-legacy-304xx  <none>

nvidia-legacy-304xx-driver suggests no packages.

Versions of packages nvidia-legacy-304xx-driver-libs:i386 depends on:
ii  libgl1-nvidia-legacy-304xx-glx  304.137-3~bpo9+1

Versions of packages nvidia-legacy-304xx-driver-libs:i386 recommends:
pn  libnvidia-legacy-304xx-cfg1  <none>

Versions of packages libgl1-nvidia-legacy-304xx-glx:i386 depends on:
ii  libc6                            2.24-11+deb9u1
ii  libnvidia-legacy-304xx-glcore    304.137-3~bpo9+1
ii  libx11-6                         2:1.6.4-3
ii  libxext6                         2:1.3.3-1+b2
ii  libxv1                           2:1.0.11-1
ii  libxvmc1                         2:1.0.10-1
ii  nvidia-installer-cleanup         20151021+4
ii  nvidia-legacy-304xx-alternative  304.137-3~bpo9+1
ii  nvidia-support                   20151021+4

libgl1-nvidia-legacy-304xx-glx:i386 recommends no packages.

libgl1-nvidia-legacy-304xx-glx:i386 suggests no packages.

Versions of packages xserver-xorg-video-nvidia-legacy-304xx depends on:
ii  libc6                                  2.24-11+deb9u1
ii  libnvidia-legacy-304xx-glcore          304.137-3~bpo9+1
ii  nvidia-installer-cleanup               20151021+4
ii  nvidia-legacy-304xx-alternative        304.137-3~bpo9+1
ii  nvidia-support                         20151021+4
ii  xserver-xorg-core [xorg-video-abi-23]  2:1.19.2-1+deb9u2
ii  xserver-xorg-legacy                    2:1.19.2-1+deb9u2

Versions of packages xserver-xorg-video-nvidia-legacy-304xx recommends:
ii  nvidia-legacy-304xx-driver        304.137-3~bpo9+1
ii  nvidia-legacy-304xx-vdpau-driver  304.137-3~bpo9+1
pn  nvidia-settings-legacy-304xx      <none>

xserver-xorg-video-nvidia-legacy-304xx suggests no packages.

Versions of packages nvidia-legacy-304xx-alternative depends on:
ii  dpkg                    1.18.24
ii  glx-alternative-nvidia  0.7.4

Versions of packages glx-alternative-nvidia depends on:
ii  glx-alternative-mesa  0.7.4
ii  glx-diversions        0.7.4
ii  update-glx            0.7.4

Versions of packages glx-alternative-nvidia suggests:
pn  nvidia-driver  <none>

Versions of packages nvidia-legacy-304xx-kernel-dkms 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.74-1
pn  libegl1                                                   <none>
ii  libgl1-mesa-glx [libgl1]                                  13.0.6-1+b2
ii  libgl1-nvidia-legacy-304xx-glx [libgl1-nvidia-glx-any]    304.137-3~bpo9+1
pn  libgles1                                                  <none>
ii  libgles2-mesa [libgles2]                                  13.0.6-1+b2
pn  linux-headers                                             <none>
ii  make                                                      4.1-9.1
pn  nvidia-glx-legacy-304xx                                   <none>
ii  nvidia-kernel-common                                      20151021+4
ii  nvidia-legacy-304xx-driver [nvidia-glx-any]               304.137-3~bpo9+1
ii  nvidia-legacy-304xx-kernel-dkms                           304.137-3~bpo9+1
pn  nvidia-legacy-304xx-kernel-source                         <none>
ii  nvidia-legacy-304xx-kernel-support [nvidia-kernel-suppor  304.137-3~bpo9+1
ii  nvidia-modprobe                                           375.26-1
pn  nvidia-settings                                           <none>
ii  nvidia-support                                            20151021+4
pn  nvidia-xconfig                                            <none>
ii  ocl-icd-libopencl1 [libopencl1]                           2.2.11-1
pn  opencl-icd                                                <none>
ii  xserver-xorg                                              1:7.7+19
ii  xserver-xorg-core                                         2:1.19.2-1+deb9u2
ii  xserver-xorg-legacy                                       2:1.19.2-1+deb9u2
ii  xserver-xorg-video-nouveau                                1:1.0.13-3
ii  xserver-xorg-video-nvidia-legacy-304xx [xserver-xorg-vid  304.137-3~bpo9+1

-- no debconf information

*** /var/lib/dkms/nvidia-legacy-304xx/304.137/build/make.log
DKMS make.log for nvidia-legacy-304xx-304.137 for kernel 4.9.0-5-amd64 (i686)
Thu Jan 18 19:10:52 EET 2018
NVIDIA: calling KBUILD...
make KBUILD_OUTPUT=/lib/modules/4.9.0-5-amd64/build KERNEL_SOURCES=/lib/modules/4.9.0-5-amd64/source KERNEL_OUTPUT=/lib/modules/4.9.0-5-amd64/build KBUILD_VERBOSE=1 -C /lib/modules/4.9.0-5-amd64/source SUBDIRS=/var/lib/dkms/nvidia-legacy-304xx/304.137/build ARCH=i386 modules
make[1]: Entering directory '/usr/src/linux-headers-4.9.0-5-common'
make -C /lib/modules/4.9.0-5-amd64/build KBUILD_SRC=/usr/src/linux-headers-4.9.0-5-common \
-f /usr/src/linux-headers-4.9.0-5-common/Makefile modules
make[2]: Entering directory '/usr/src/linux-headers-4.9.0-5-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)
mkdir -p /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_versions/*
make -f /usr/src/linux-headers-4.9.0-5-common/scripts/Makefile.build obj=/var/lib/dkms/nvidia-legacy-304xx/304.137/build
CONFTEST=/bin/sh /var/lib/dkms/nvidia-legacy-304xx/304.137/build/conftest.sh " gcc-6" " gcc-6" i386 /lib/modules/4.9.0-5-amd64/source /lib/modules/4.9.0-5-amd64/build
CONFTEST_CFLAGS=
KBUILD_CFLAGS=-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables  -fno-delete-null-pointer-checks -Wno-frame-address    -O2  --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable  -fno-var-tracking-assignments -g -pg  -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types    
LINUXINCLUDE=-I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h
LDFLAGS=-m elf_x86_64
ARCH=i386
 CONFTEST: rivafb_sanity_check
 CONFTEST: nvidiafb_sanity_check
 CONFTEST: compile_tests
conftest.sh: CC= gcc-6
conftest.sh: CFLAGS=-O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest32181" -DKBUILD_MODNAME="#conftest32181" -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/lib/modules/4.9.0-5-amd64/source/include/asm/mach-xen -I/lib/modules/4.9.0-5-amd64/source/include/asm-x86/mach-default -I/lib/modules/4.9.0-5-amd64/source/arch/x86/include/asm/mach-default -I/lib/modules/4.9.0-5-amd64/build/include2 -I/lib/modules/4.9.0-5-amd64/build/include -include /lib/modules/4.9.0-5-amd64/build/include/generated/autoconf.h -I/lib/modules/4.9.0-5-amd64/source/include -I/lib/modules/4.9.0-5-amd64/source/include/uapi -I/lib/modules/4.9.0-5-amd64/source/include/xen -I/lib/modules/4.9.0-5-amd64/build/include/generated/uapi -I/lib/modules/4.9.0-5-amd64/source/arch/x86/include -I/lib/modules/4.9.0-5-amd64/source/arch/x86/include/uapi -I/lib/modules/4.9.0-5-amd64/build/arch/x86/include/generated -I/lib/modules/4.9.0-5-amd64/build/arch/x86/include/generated/uapi -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack
conftest.sh: KBUILD_CFLAGS=-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables  -fno-delete-null-pointer-checks -Wno-frame-address    -O2  --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable  -fno-var-tracking-assignments -g -pg  -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types    
conftest.sh: ARCH=i386
 CONFTEST conftest.h:
#undef NV_ASM_SYSTEM_H_PRESENT
#define NV_DRM_DRMP_H_PRESENT
#define NV_DRM_DRM_GEM_H_PRESENT
#define NV_GENERATED_AUTOCONF_H_PRESENT
#define NV_GENERATED_COMPILE_H_PRESENT
#define NV_GENERATED_UTSRELEASE_H_PRESENT
#define NV_LINUX_EFI_H_PRESENT
#define NV_LINUX_KCONFIG_H_PRESENT
#define NV_LINUX_SCREEN_INFO_H_PRESENT
#define NV_LINUX_SEMAPHORE_H_PRESENT
#define NV_LINUX_PRINTK_H_PRESENT
#define NV_LINUX_RATELIMIT_H_PRESENT
#undef NV_LINUX_PRIO_TREE_H_PRESENT
#define NV_LINUX_LOG2_H_PRESENT
#define NV_LINUX_OF_H_PRESENT
#define NV_LINUX_BUG_H_PRESENT
#undef NV_LINUX_SCHED_SIGNAL_H_PRESENT
#undef NV_LINUX_SCHED_TASK_H_PRESENT
#undef NV_XEN_IOEMU_H_PRESENT
#define NV_LINUX_FENCE_H_PRESENT
#undef NV_ASM_SET_MEMORY_H_PRESENT
#undef NV_REMAP_PAGE_RANGE_PRESENT
#define NV_REMAP_PFN_RANGE_PRESENT
#define NV_VMAP_PRESENT
#define NV_VMAP_ARGUMENT_COUNT 4
#define NV_AGP_BACKEND_ACQUIRE_PRESENT
#define NV_AGP_BACKEND_ACQUIRE_ARGUMENT_COUNT 1
#define NV_SET_MEMORY_UC_PRESENT
#define NV_SET_MEMORY_ARRAY_UC_PRESENT
#undef NV_CHANGE_PAGE_ATTR_PRESENT
#undef NV_I2C_ADAPTER_HAS_INC_USE
#undef NV_I2C_ADAPTER_HAS_CLIENT_REGISTER
#define NV_PCI_GET_CLASS_PRESENT
#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
#define NV_PCI_CHOOSE_STATE_PRESENT
#define NV_VM_INSERT_PAGE_PRESENT
#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_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
#undef HAVE_NV_XEN
#define NV_ACPI_EVALUATE_INTEGER_PRESENT
typedef unsigned long long nv_acpi_integer_t;
#define NV_IOREMAP_CACHE_PRESENT
#define NV_IOREMAP_WC_PRESENT
#undef NV_PROC_DIR_ENTRY_HAS_OWNER
#define NV_INIT_WORK_PRESENT
#define NV_INIT_WORK_ARGUMENT_COUNT 2
#define NV_ACPI_WALK_NAMESPACE_PRESENT
#define NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT 7
#define NV_AGP_MEMORY_HAS_PAGES
#define NV_SCATTERLIST_HAS_PAGE_LINK
#define NV_PCI_DOMAIN_NR_PRESENT
#define NV_PCI_DMA_MAPPING_ERROR_PRESENT
#define NV_PCI_DMA_MAPPING_ERROR_ARGUMENT_COUNT 2
#undef NV_FILE_OPERATIONS_HAS_IOCTL
#define NV_FILE_OPERATIONS_HAS_UNLOCKED_IOCTL
#define NV_FILE_OPERATIONS_HAS_COMPAT_IOCTL
#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_DRM_AVAILABLE
#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_FILE_HAS_INODE
#define NV_DRM_PCI_SET_BUSID_PRESENT
#undef NV_WRITE_CR4_PRESENT
#define NV_FOR_EACH_ONLINE_NODE_PRESENT
#define NV_NODE_END_PFN_PRESENT
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#undef NV_GET_USER_PAGES_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_REMOTE_HAS_LOCKED_ARG
#define NV_ARCH_PHYS_WC_ADD_PRESENT
#define NV_REGISTER_CPU_NOTIFIER_PRESENT
#define NV_CPUHP_SETUP_STATE_PRESENT
#define NV_VM_FAULT_PRESENT
#undef NV_VM_FAULT_HAS_ADDRESS
#define NV_DRM_DRIVER_UNLOAD_HAS_INT_RETURN_TYPE
 CONFTEST: patch_check
 CONFTEST patches.h:
static struct {
                const char *short_description;
                const char *description;
              } __nv_patches[] = {
{ NULL, NULL } };
echo \#define NV_COMPILER \"` gcc-6 -v 2>&1 | tail -n 1`\" > /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv_compiler.h
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv.c:13:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv.c:13:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv.c:13:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv-acpi.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_acpi"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-acpi.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-acpi.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-acpi.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-acpi.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-acpi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-acpi.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv-chrdev.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_chrdev"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv-chrdev.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-chrdev.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-chrdev.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-chrdev.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-chrdev.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-chrdev.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-chrdev.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv-cray.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_cray"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv-cray.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-cray.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-cray.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-cray.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-cray.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-cray.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-cray.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv-drm.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_drm"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv-drm.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-drm.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-drm.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-drm.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-drm.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-drm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-drm.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv-gvi.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_gvi"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv-gvi.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-gvi.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-gvi.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-gvi.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-gvi.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-gvi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-gvi.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv-i2c.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_i2c"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv-i2c.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-i2c.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-i2c.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-i2c.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-i2c.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-i2c.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-i2c.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv-mempool.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_mempool"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv-mempool.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mempool.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mempool.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mempool.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mempool.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mempool.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mempool.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv-mlock.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_mlock"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv-mlock.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mlock.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mlock.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mlock.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mlock.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mlock.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mlock.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv-mmap.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_mmap"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv-mmap.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mmap.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mmap.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mmap.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mmap.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mmap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-mmap.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv-p2p.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_p2p"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv-p2p.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-p2p.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-p2p.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-p2p.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-p2p.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-p2p.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-p2p.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv-pat.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_pat"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv-pat.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-pat.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-pat.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-pat.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-pat.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-pat.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-pat.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv-procfs.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_procfs"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv-procfs.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-procfs.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-procfs.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-procfs.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-procfs.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-procfs.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-procfs.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv-usermap.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_usermap"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv-usermap.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-usermap.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-usermap.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-usermap.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-usermap.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-usermap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-usermap.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv-vm.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_vm"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv-vm.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-vm.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-vm.c:14:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-vm.c:14:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-vm.c:14:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-vm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-vm.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.nv-vtophys.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_vtophys"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_nv-vtophys.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-vtophys.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-vtophys.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-vtophys.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-vtophys.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-vtophys.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-vtophys.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.os-agp.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_agp"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_os-agp.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-agp.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-agp.c:24:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-agp.c:24:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-agp.c:24:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-agp.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-agp.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.os-interface.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_interface"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_os-interface.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-interface.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-interface.c:26:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-interface.c:26:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-interface.c:26:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-interface.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-interface.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.os-mtrr.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_mtrr"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_os-mtrr.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-mtrr.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-mtrr.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-mtrr.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-mtrr.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-mtrr.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-mtrr.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.os-registry.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_registry"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_os-registry.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-registry.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-registry.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-registry.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-registry.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-registry.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-registry.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.os-smp.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_smp"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_os-smp.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-smp.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-smp.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-smp.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-smp.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-smp.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-smp.o"; fi; fi;
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.137/build/.os-usermap.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.9.0-5-common/include -I./include -I/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-5-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-5-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-5-common//var/lib/dkms/nvidia-legacy-304xx/304.137/build -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types  -I/var/lib/dkms/nvidia-legacy-304xx/304.137/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_usermap"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/.tmp_os-usermap.o /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-usermap.c
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-usermap.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.9.0-5-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-4.9.0-5-common/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                            ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/preempt.h:5:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/timex.h:56,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:19,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-usermap.c:15:
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘raw_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘raw_cpu_add_2’
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                  ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘raw_cpu_add_4’
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
 #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                   ^~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘raw_cpu_add_8’
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:439:32: note: in expansion of macro ‘__pcpu_size_call’
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:475:2: note: in expansion of macro ‘raw_cpu_add’
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:513:34: note: in expansion of macro ‘__this_cpu_add’
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-defs.h:515:30: note: in expansion of macro ‘__this_cpu_sub’
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-5-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
   __this_cpu_dec(*sem->read_count);
   ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/stddef.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/types.h:13,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/types.h:5,
                 from /usr/src/linux-headers-4.9.0-5-common/include/uapi/linux/capability.h:16,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/capability.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/sched.h:15,
                 from /usr/src/linux-headers-4.9.0-5-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-usermap.c:15:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.9.0-5-common/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.9.0-5-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-usermap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-legacy-304xx/304.137/build/os-usermap.o"; fi; fi;
make[3]: *** No rule to make target '/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nv-kernel-amd64.o_shipped', needed by '/var/lib/dkms/nvidia-legacy-304xx/304.137/build/nvidia.o'.  Stop.
/usr/src/linux-headers-4.9.0-5-common/Makefile:1510: recipe for target '_module_/var/lib/dkms/nvidia-legacy-304xx/304.137/build' failed
make[2]: *** [_module_/var/lib/dkms/nvidia-legacy-304xx/304.137/build] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.9.0-5-amd64'
Makefile:150: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-5-common'
Makefile:333: recipe for target 'module' failed
make: *** [module] Error 2


More information about the pkg-nvidia-devel mailing list