Bug#872330: nvidia-legacy-340xx-kernel-dkms: Build against Linux 4.12 fails

Tim Marston tim at ed.am
Wed Aug 16 11:43:17 UTC 2017


Package: nvidia-legacy-340xx-kernel-dkms
Version: 340.102-2
Severity: normal

Dear Maintainer,

After a recent package update (sid) which took the kernel to 3.12, the
legacy-340xx kernel module no longer builds.

E.g.:

	# dpkg-reconfigure nvidia-legacy-340xx-kernel-dkms

	------------------------------
	Deleting module version: 340.102
	completely from the DKMS tree.
	------------------------------
	Done.
	Loading new nvidia-legacy-340xx-340.102 DKMS files...
	Building for 4.12.0-1-amd64
	Building initial module for 4.12.0-1-amd64
	Error! Bad return status for module build on kernel: 4.12.0-1-amd64 (x86_64)
	Consult /var/lib/dkms/nvidia-legacy-340xx/340.102/build/make.log for more information.

I've attached /var/lib/dkms/nvidia-legacy-340xx/340.102/build/make.log,
but the critical bit would appear to be this:

	/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h: At top level:
	/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:204:2: error: #error "This driver requires the ability to change memory types!"
	 #error "This driver requires the ability to change memory types!"
      ^~~~~

Which comes from an error directive in nv-linx.h:

	#if !defined(NV_VMWARE) && !defined(NVCPU_FAMILY_ARM) && !defined(NVCPU_PPC64LE)
	#if !defined(NV_SET_MEMORY_UC_PRESENT) && !defined(NV_SET_PAGES_UC_PRESENT) && \
	  !defined(NV_CHANGE_PAGE_ATTR_PRESENT)
	#error "This driver requires the ability to change memory types!"
	#endif
	#endif

Kind regards,

Tim.



-- Package-specific info:
uname -a:
Linux tims-pc 4.12.0-1-amd64 #1 SMP Debian 4.12.6-1 (2017-08-12) x86_64 GNU/Linux

/proc/version:
Linux version 4.12.0-1-amd64 (debian-kernel at lists.debian.org) (gcc version 6.4.0 20170805 (Debian 6.4.0-3) ) #1 SMP Debian 4.12.6-1 (2017-08-12)

lspci 'VGA compatible controller [0300]':
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218 [GeForce 210] [10de:0a65] (rev a2) (prog-if 00 [VGA controller])
	Subsystem: NVIDIA Corporation GT218 [GeForce 210] [10de:0a65]
	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 10
	Region 0: Memory at de000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Region 3: Memory at d0000000 (64-bit, prefetchable) [size=32M]
	Region 5: I/O ports at e000 [size=128]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel modules: nvidia

dmesg:

Device node permissions:
video:x:44:edam

OpenGL and NVIDIA library files installed:
-rw-r--r-- 1 root root     1128 Nov 22  2015 /etc/X11/xorg.conf
lrwxrwxrwx 1 root root       15 Aug  2 12:39 /etc/alternatives/glx -> /usr/lib/nvidia
lrwxrwxrwx 1 root root       49 Dec  3  2015 /etc/alternatives/glx--libEGL.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so
lrwxrwxrwx 1 root root       42 Aug  2 12:39 /etc/alternatives/glx--libEGL.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/libEGL.so.1
lrwxrwxrwx 1 root root       44 Aug  2 12:39 /etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libEGL.so.1
lrwxrwxrwx 1 root root       48 Dec  3  2015 /etc/alternatives/glx--libGL.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so
lrwxrwxrwx 1 root root       48 Dec  3  2015 /etc/alternatives/glx--libGL.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so
lrwxrwxrwx 1 root root       41 Aug  2 12:39 /etc/alternatives/glx--libGL.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root       41 Aug  2 12:39 /etc/alternatives/glx--libGL.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root       43 Aug  2 12:39 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root       43 Aug  2 12:39 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root       48 Aug  2 12:39 /etc/alternatives/glx--libGLESv1_CM.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root       48 Aug  2 12:39 /etc/alternatives/glx--libGLESv1_CM.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root       50 Aug  2 12:39 /etc/alternatives/glx--libGLESv1_CM.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root       50 Aug  2 12:39 /etc/alternatives/glx--libGLESv1_CM.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root       52 Dec  3  2015 /etc/alternatives/glx--libGLESv2.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so
lrwxrwxrwx 1 root root       52 Dec  3  2015 /etc/alternatives/glx--libGLESv2.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so
lrwxrwxrwx 1 root root       45 Aug  2 12:39 /etc/alternatives/glx--libGLESv2.so.2-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/libGLESv2.so.2
lrwxrwxrwx 1 root root       45 Aug  2 12:39 /etc/alternatives/glx--libGLESv2.so.2-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/libGLESv2.so.2
lrwxrwxrwx 1 root root       47 Aug  2 12:39 /etc/alternatives/glx--libGLESv2.so.2-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libGLESv2.so.2
lrwxrwxrwx 1 root root       47 Aug  2 12:39 /etc/alternatives/glx--libGLESv2.so.2-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libGLESv2.so.2
lrwxrwxrwx 1 root root       49 Aug  2 12:39 /etc/alternatives/glx--libnvidia-cfg.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root       51 Aug  2 12:39 /etc/alternatives/glx--libnvidia-cfg.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root       25 Aug  2 12:39 /etc/alternatives/glx--linux-libglx.so -> /usr/lib/nvidia/libglx.so
lrwxrwxrwx 1 root root       42 Aug  2 12:39 /etc/alternatives/glx--nvidia-blacklists-nouveau.conf -> /etc/nvidia/nvidia-blacklists-nouveau.conf
lrwxrwxrwx 1 root root       36 Aug  2 12:39 /etc/alternatives/glx--nvidia-bug-report.sh -> /usr/lib/nvidia/nvidia-bug-report.sh
lrwxrwxrwx 1 root root       39 Aug  2 12:39 /etc/alternatives/glx--nvidia-drm-outputclass.conf -> /etc/nvidia/nvidia-drm-outputclass.conf
lrwxrwxrwx 1 root root       28 Aug  2 12:39 /etc/alternatives/glx--nvidia-load.conf -> /etc/nvidia/nvidia-load.conf
lrwxrwxrwx 1 root root       32 Aug  2 12:39 /etc/alternatives/glx--nvidia-modprobe.conf -> /etc/nvidia/nvidia-modprobe.conf
lrwxrwxrwx 1 root root       29 Aug  2 12:39 /etc/alternatives/glx--nvidia_drv.so -> /usr/lib/nvidia/nvidia_drv.so
lrwxrwxrwx 1 root root       22 Dec  3  2015 /etc/alternatives/libGL.so-master -> /usr/lib/mesa-diverted
lrwxrwxrwx 1 root root       28 Aug 16 11:14 /etc/alternatives/nvidia -> /usr/lib/nvidia/legacy-340xx
lrwxrwxrwx 1 root root       55 Aug 16 11:14 /etc/alternatives/nvidia--libEGL.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/legacy-340xx/libEGL.so.1
lrwxrwxrwx 1 root root       57 Aug 16 11:14 /etc/alternatives/nvidia--libEGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-340xx/libEGL.so.1
lrwxrwxrwx 1 root root       54 Aug 16 11:14 /etc/alternatives/nvidia--libGL.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/legacy-340xx/libGL.so.1
lrwxrwxrwx 1 root root       54 Aug 16 11:14 /etc/alternatives/nvidia--libGL.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/legacy-340xx/libGL.so.1
lrwxrwxrwx 1 root root       56 Aug 16 11:14 /etc/alternatives/nvidia--libGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-340xx/libGL.so.1
lrwxrwxrwx 1 root root       56 Aug 16 11:14 /etc/alternatives/nvidia--libGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-340xx/libGL.so.1
lrwxrwxrwx 1 root root       61 Aug 16 11:14 /etc/alternatives/nvidia--libGLESv1_CM.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/legacy-340xx/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root       61 Aug 16 11:14 /etc/alternatives/nvidia--libGLESv1_CM.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/legacy-340xx/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root       63 Aug 16 11:14 /etc/alternatives/nvidia--libGLESv1_CM.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-340xx/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root       63 Aug 16 11:14 /etc/alternatives/nvidia--libGLESv1_CM.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-340xx/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root       58 Aug 16 11:14 /etc/alternatives/nvidia--libGLESv2.so.2-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/legacy-340xx/libGLESv2.so.2
lrwxrwxrwx 1 root root       58 Aug 16 11:14 /etc/alternatives/nvidia--libGLESv2.so.2-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/legacy-340xx/libGLESv2.so.2
lrwxrwxrwx 1 root root       60 Aug 16 11:14 /etc/alternatives/nvidia--libGLESv2.so.2-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-340xx/libGLESv2.so.2
lrwxrwxrwx 1 root root       60 Aug 16 11:14 /etc/alternatives/nvidia--libGLESv2.so.2-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-340xx/libGLESv2.so.2
lrwxrwxrwx 1 root root       38 Aug 16 11:14 /etc/alternatives/nvidia--libglx.so -> /usr/lib/nvidia/legacy-340xx/libglx.so
lrwxrwxrwx 1 root root       62 Aug 16 11:14 /etc/alternatives/nvidia--libnvidia-cfg.so.1-i386-linux-gnu -> /usr/lib/i386-linux-gnu/nvidia/legacy-340xx/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root       64 Aug 16 11:14 /etc/alternatives/nvidia--libnvidia-cfg.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-340xx/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root       63 Aug 16 11:14 /etc/alternatives/nvidia--libnvidia-ml.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-340xx/libnvidia-ml.so.1
lrwxrwxrwx 1 root root       66 Aug 16 11:14 /etc/alternatives/nvidia--libvdpau_nvidia.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/legacy-340xx/libvdpau_nvidia.so.1
lrwxrwxrwx 1 root root       44 Aug 16 11:14 /etc/alternatives/nvidia--monitoring.conf -> /usr/lib/nvidia/legacy-340xx/monitoring.conf
lrwxrwxrwx 1 root root       43 Aug 16 11:14 /etc/alternatives/nvidia--nv-control-dpy -> /usr/lib/nvidia/legacy-340xx/nv-control-dpy
lrwxrwxrwx 1 root root       55 Aug 16 11:14 /etc/alternatives/nvidia--nvidia-blacklists-nouveau.conf -> /etc/nvidia/legacy-340xx/nvidia-blacklists-nouveau.conf
lrwxrwxrwx 1 root root       49 Aug 16 11:14 /etc/alternatives/nvidia--nvidia-bug-report.sh -> /usr/lib/nvidia/legacy-340xx/nvidia-bug-report.sh
lrwxrwxrwx 1 root root       45 Aug 16 11:14 /etc/alternatives/nvidia--nvidia-debugdump -> /usr/lib/nvidia/legacy-340xx/nvidia-debugdump
lrwxrwxrwx 1 root root       52 Aug 16 11:14 /etc/alternatives/nvidia--nvidia-drm-outputclass.conf -> /etc/nvidia/legacy-340xx/nvidia-drm-outputclass.conf
lrwxrwxrwx 1 root root       41 Aug 16 11:14 /etc/alternatives/nvidia--nvidia-load.conf -> /etc/nvidia/legacy-340xx/nvidia-load.conf
lrwxrwxrwx 1 root root       45 Aug 16 11:14 /etc/alternatives/nvidia--nvidia-modprobe.conf -> /etc/nvidia/legacy-340xx/nvidia-modprobe.conf
lrwxrwxrwx 1 root root       44 Aug 16 11:14 /etc/alternatives/nvidia--nvidia-settings -> /usr/lib/nvidia/legacy-340xx/nvidia-settings
lrwxrwxrwx 1 root root       49 Aug 16 11:14 /etc/alternatives/nvidia--nvidia-settings.1.gz -> /usr/lib/nvidia/legacy-340xx/nvidia-settings.1.gz
lrwxrwxrwx 1 root root       52 Aug 16 11:14 /etc/alternatives/nvidia--nvidia-settings.desktop -> /usr/lib/nvidia/legacy-340xx/nvidia-settings.desktop
lrwxrwxrwx 1 root root       42 Aug 16 11:14 /etc/alternatives/nvidia--nvidia_drv.so -> /usr/lib/nvidia/legacy-340xx/nvidia_drv.so
lrwxrwxrwx 1 root root       49 Aug  2 12:39 /usr/lib/i386-linux-gnu/libEGL.so.1 -> /etc/alternatives/glx--libEGL.so.1-i386-linux-gnu
lrwxrwxrwx 1 root root       48 Aug  2 12:39 /usr/lib/i386-linux-gnu/libGL.so.1 -> /etc/alternatives/glx--libGL.so.1-i386-linux-gnu
lrwxrwxrwx 1 root root       55 Aug  2 12:39 /usr/lib/i386-linux-gnu/libGLESv1_CM.so.1 -> /etc/alternatives/glx--libGLESv1_CM.so.1-i386-linux-gnu
lrwxrwxrwx 1 root root       52 Aug  2 12:39 /usr/lib/i386-linux-gnu/libGLESv2.so.2 -> /etc/alternatives/glx--libGLESv2.so.2-i386-linux-gnu
lrwxrwxrwx 1 root root       56 Aug  2 12:39 /usr/lib/i386-linux-gnu/libnvidia-cfg.so.1 -> /etc/alternatives/glx--libnvidia-cfg.so.1-i386-linux-gnu
-rw-r--r-- 1 root root 35899948 Jan 16  2017 /usr/lib/i386-linux-gnu/libnvidia-eglcore.so.340.102
-rw-r--r-- 1 root root 29155496 Jul 20 06:04 /usr/lib/i386-linux-gnu/libnvidia-eglcore.so.375.82
-rw-r--r-- 1 root root   322088 Jul 20 04:43 /usr/lib/i386-linux-gnu/libnvidia-fatbinaryloader.so.375.82
-rw-r--r-- 1 root root 39306456 Jan 16  2017 /usr/lib/i386-linux-gnu/libnvidia-glcore.so.340.102
-rw-r--r-- 1 root root 32374328 Jul 20 04:27 /usr/lib/i386-linux-gnu/libnvidia-glcore.so.375.82
-rw-r--r-- 1 root root   493540 Jan 16  2017 /usr/lib/i386-linux-gnu/libnvidia-glsi.so.340.102
-rw-r--r-- 1 root root   495820 Jul 20 05:47 /usr/lib/i386-linux-gnu/libnvidia-glsi.so.375.82
-rw-r--r-- 1 root root  9488456 Jul 20 04:49 /usr/lib/i386-linux-gnu/libnvidia-ptxjitcompiler.so.375.82
-rw-r--r-- 1 root root    13820 Jan 16  2017 /usr/lib/i386-linux-gnu/libnvidia-tls.so.340.102
-rw-r--r-- 1 root root    13788 Jul 20 04:33 /usr/lib/i386-linux-gnu/libnvidia-tls.so.375.82
-rw-r--r-- 1 root root  1764672 Jun 24 13:00 /usr/lib/libnvidia-gtk2.so.375.66
-rw-r--r-- 1 root root  1764672 Jun 24 13:00 /usr/lib/libnvidia-gtk3.so.375.66
lrwxrwxrwx 1 root root       49 Jun 18  2015 /usr/lib/x86_64-linux-gnu/libEGL.so -> /etc/alternatives/glx--libEGL.so-x86_64-linux-gnu
lrwxrwxrwx 1 root root       51 Aug  2 12:39 /usr/lib/x86_64-linux-gnu/libEGL.so.1 -> /etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu
lrwxrwxrwx 1 root root       48 Feb 17  2013 /usr/lib/x86_64-linux-gnu/libGL.so -> /etc/alternatives/glx--libGL.so-x86_64-linux-gnu
lrwxrwxrwx 1 root root       50 Aug  2 12:39 /usr/lib/x86_64-linux-gnu/libGL.so.1 -> /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu
lrwxrwxrwx 1 root root       57 Aug  2 12:39 /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1 -> /etc/alternatives/glx--libGLESv1_CM.so.1-x86_64-linux-gnu
lrwxrwxrwx 1 root root       52 Dec  3  2015 /usr/lib/x86_64-linux-gnu/libGLESv2.so -> /etc/alternatives/glx--libGLESv2.so-x86_64-linux-gnu
lrwxrwxrwx 1 root root       54 Aug  2 12:39 /usr/lib/x86_64-linux-gnu/libGLESv2.so.2 -> /etc/alternatives/glx--libGLESv2.so.2-x86_64-linux-gnu
lrwxrwxrwx 1 root root       58 Aug  2 12:39 /usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.1 -> /etc/alternatives/glx--libnvidia-cfg.so.1-x86_64-linux-gnu
-rw-r--r-- 1 root root 48280784 Jul 20 06:03 /usr/lib/x86_64-linux-gnu/libnvidia-compiler.so.375.82
-rw-r--r-- 1 root root 42508504 Jan 16  2017 /usr/lib/x86_64-linux-gnu/libnvidia-eglcore.so.340.102
-rw-r--r-- 1 root root 27279408 Jul 20 06:02 /usr/lib/x86_64-linux-gnu/libnvidia-eglcore.so.375.82
-rw-r--r-- 1 root root   308824 Jul 20 04:43 /usr/lib/x86_64-linux-gnu/libnvidia-fatbinaryloader.so.375.82
-rw-r--r-- 1 root root 44003128 Jan 16  2017 /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.102
-rw-r--r-- 1 root root 29086648 Jul 20 04:28 /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.375.82
-rw-r--r-- 1 root root   481024 Jan 16  2017 /usr/lib/x86_64-linux-gnu/libnvidia-glsi.so.340.102
-rw-r--r-- 1 root root   490080 Jul 20 05:47 /usr/lib/x86_64-linux-gnu/libnvidia-glsi.so.375.82
lrwxrwxrwx 1 root root       60 Aug  2 10:38 /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1 -> /etc/alternatives/nvidia--libnvidia-ml.so.1-x86_64-linux-gnu
-rw-r--r-- 1 root root  9157016 Jul 20 04:49 /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.375.82
-rw-r--r-- 1 root root    12696 Jan 16  2017 /usr/lib/x86_64-linux-gnu/libnvidia-tls.so.340.102
-rw-r--r-- 1 root root    13080 Jul 20 04:34 /usr/lib/x86_64-linux-gnu/libnvidia-tls.so.375.82
lrwxrwxrwx 1 root root       36 Aug  2 12:39 /usr/lib/xorg/modules/drivers/nvidia_drv.so -> /etc/alternatives/glx--nvidia_drv.so
-rw-r--r-- 1 root root   290000 Jul  7 06:31 /usr/lib/xorg/modules/extensions/libglx.so
lrwxrwxrwx 1 root root       38 Aug  2 12:39 /usr/lib/xorg/modules/linux/libglx.so -> /etc/alternatives/glx--linux-libglx.so
-rw-r--r-- 1 root root     5220 Aug 16 10:53 /var/log/Xorg.0.log
-rw-r--r-- 1 root root     5220 Aug 16 10:53 /var/log/Xorg.0.log.old
-rw-r--r-- 1 root root    32984 Jun  5 22:26 /var/log/Xorg.1.log
-rw-r--r-- 1 root root     9222 Nov  2  2013 /var/log/Xorg.1.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.10.log
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.10.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.11.log
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.11.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.12.log
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.12.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.13.log
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.13.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.14.log
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.14.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.15.log
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.15.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.16.log
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.16.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.17.log
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.17.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.18.log
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.18.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.19.log
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.19.log.old
-rw-r--r-- 1 root root    55780 Mar  8  2013 /var/log/Xorg.2.log
-rw-r--r-- 1 root root     6352 Mar  2  2013 /var/log/Xorg.2.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.20.log
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.20.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.21.log
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.21.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.22.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.22.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.23.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.23.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.24.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.24.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.25.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.25.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.26.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.26.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.27.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.27.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.28.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.28.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.29.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.29.log.old
-rw-r--r-- 1 root root    11669 Feb 22  2013 /var/log/Xorg.3.log
-rw-r--r-- 1 root root    11669 Feb 22  2013 /var/log/Xorg.3.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.30.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.30.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.31.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.31.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.32.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.32.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.33.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.33.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.34.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.34.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.35.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.35.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.36.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.36.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.37.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.37.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.38.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.38.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.39.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.39.log.old
-rw-r--r-- 1 root root    11669 Feb 22  2013 /var/log/Xorg.4.log
-rw-r--r-- 1 root root    11669 Feb 22  2013 /var/log/Xorg.4.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.40.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.40.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.41.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.41.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.42.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.42.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.43.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.43.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.44.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.44.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.45.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.45.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.46.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.46.log.old
-rw-r--r-- 1 root root     9176 Feb  9  2013 /var/log/Xorg.47.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.47.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.48.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.48.log.old
-rw-r--r-- 1 root root     9323 Feb  9  2013 /var/log/Xorg.49.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.49.log.old
-rw-r--r-- 1 root root    11669 Feb 22  2013 /var/log/Xorg.5.log
-rw-r--r-- 1 root root    11669 Feb 22  2013 /var/log/Xorg.5.log.old
-rw-r--r-- 1 root root     9323 Feb  9  2013 /var/log/Xorg.50.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.50.log.old
-rw-r--r-- 1 root root     9176 Feb  9  2013 /var/log/Xorg.51.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.51.log.old
-rw-r--r-- 1 root root     9176 Feb  9  2013 /var/log/Xorg.52.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.52.log.old
-rw-r--r-- 1 root root     9323 Feb  9  2013 /var/log/Xorg.53.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.53.log.old
-rw-r--r-- 1 root root     9323 Feb  9  2013 /var/log/Xorg.54.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.54.log.old
-rw-r--r-- 1 root root     9323 Feb  9  2013 /var/log/Xorg.55.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.55.log.old
-rw-r--r-- 1 root root     9176 Feb  9  2013 /var/log/Xorg.56.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.56.log.old
-rw-r--r-- 1 root root     9323 Feb  9  2013 /var/log/Xorg.57.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.57.log.old
-rw-r--r-- 1 root root     9176 Feb  9  2013 /var/log/Xorg.58.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.58.log.old
-rw-r--r-- 1 root root     9323 Feb  9  2013 /var/log/Xorg.59.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.59.log.old
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.6.log
-rw-r--r-- 1 root root     6220 Feb  9  2013 /var/log/Xorg.6.log.old
-rw-r--r-- 1 root root     9323 Feb  9  2013 /var/log/Xorg.60.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.60.log.old
-rw-r--r-- 1 root root     9323 Feb  9  2013 /var/log/Xorg.61.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.61.log.old
-rw-r--r-- 1 root root     9323 Feb  9  2013 /var/log/Xorg.62.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.62.log.old
-rw-r--r-- 1 root root     9323 Feb  9  2013 /var/log/Xorg.63.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.63.log.old
-rw-r--r-- 1 root root     9323 Feb  9  2013 /var/log/Xorg.64.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.64.log.old
-rw-r--r-- 1 root root     9323 Feb  9  2013 /var/log/Xorg.65.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.65.log.old
-rw-r--r-- 1 root root     9323 Feb  9  2013 /var/log/Xorg.66.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.66.log.old
-rw-r--r-- 1 root root     9323 Feb  9  2013 /var/log/Xorg.67.log
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.67.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.68.log
-rw-r--r-- 1 root root     6494 Feb  7  2013 /var/log/Xorg.68.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.69.log
-rw-r--r-- 1 root root     9323 Feb  7  2013 /var/log/Xorg.69.log.old
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.7.log
-rw-r--r-- 1 root root     6220 Feb  9  2013 /var/log/Xorg.7.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.70.log
-rw-r--r-- 1 root root     6222 Feb  7  2013 /var/log/Xorg.70.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.71.log
-rw-r--r-- 1 root root     9323 Feb  7  2013 /var/log/Xorg.71.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.72.log
-rw-r--r-- 1 root root     9322 Feb  7  2013 /var/log/Xorg.72.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.73.log
-rw-r--r-- 1 root root     9323 Feb  7  2013 /var/log/Xorg.73.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.74.log
-rw-r--r-- 1 root root     6494 Feb  7  2013 /var/log/Xorg.74.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.75.log
-rw-r--r-- 1 root root     6222 Feb  7  2013 /var/log/Xorg.75.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.76.log
-rw-r--r-- 1 root root     6222 Feb  7  2013 /var/log/Xorg.76.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.77.log
-rw-r--r-- 1 root root     9323 Feb  7  2013 /var/log/Xorg.77.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.78.log
-rw-r--r-- 1 root root     9323 Feb  7  2013 /var/log/Xorg.78.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.79.log
-rw-r--r-- 1 root root     6494 Feb  7  2013 /var/log/Xorg.79.log.old
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.8.log
-rw-r--r-- 1 root root     6220 Feb  9  2013 /var/log/Xorg.8.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.80.log
-rw-r--r-- 1 root root     6222 Feb  7  2013 /var/log/Xorg.80.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.81.log
-rw-r--r-- 1 root root     9322 Feb  7  2013 /var/log/Xorg.81.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.82.log
-rw-r--r-- 1 root root     6222 Feb  7  2013 /var/log/Xorg.82.log.old
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.83.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.83.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.84.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.84.log.old
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.85.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.85.log.old
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.86.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.86.log.old
-rw-r--r-- 1 root root     9175 Feb  9  2013 /var/log/Xorg.87.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.87.log.old
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.88.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.88.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.89.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.89.log.old
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.9.log
-rw-r--r-- 1 root root     6220 Feb  9  2013 /var/log/Xorg.9.log.old
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.90.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.90.log.old
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.91.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.91.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.92.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.92.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.93.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.93.log.old
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.94.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.94.log.old
-rw-r--r-- 1 root root     6222 Feb  9  2013 /var/log/Xorg.95.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.95.log.old
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.96.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.96.log.old
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.97.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.97.log.old
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.98.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.98.log.old
-rw-r--r-- 1 root root     6221 Feb  9  2013 /var/log/Xorg.99.log
-rw-r--r-- 1 root root     6494 Feb  9  2013 /var/log/Xorg.99.log.old
/etc/OpenCL/vendors/:
total 12
drwxr-xr-x 2 root root 4096 Aug  2 10:28 .
drwxr-xr-x 3 root root 4096 Feb  6  2014 ..
-rw-r--r-- 1 root root   22 Mar  5  2013 nvidia.icd

/etc/nvidia/:
total 32
drwxr-xr-x   4 root root  4096 Aug  2 10:38 .
drwxr-xr-x 223 root root 20480 Aug 16 11:14 ..
drwxr-xr-x   2 root root  4096 Aug  2 12:36 current
drwxr-xr-x   2 root root  4096 Aug  2 12:36 legacy-340xx
lrwxrwxrwx   1 root root    56 Aug  2 10:38 nvidia-blacklists-nouveau.conf -> /etc/alternatives/nvidia--nvidia-blacklists-nouveau.conf
lrwxrwxrwx   1 root root    53 Aug  2 10:38 nvidia-drm-outputclass.conf -> /etc/alternatives/nvidia--nvidia-drm-outputclass.conf
lrwxrwxrwx   1 root root    42 Aug  2 10:38 nvidia-load.conf -> /etc/alternatives/nvidia--nvidia-load.conf
lrwxrwxrwx   1 root root    46 Aug  2 10:38 nvidia-modprobe.conf -> /etc/alternatives/nvidia--nvidia-modprobe.conf

/usr/lib/i386-linux-gnu/nvidia/:
total 28
drwxr-xr-x  4 root root  4096 Aug  2 10:38 .
drwxr-xr-x 10 root root 16384 Aug 16 11:14 ..
drwxr-xr-x  2 root root  4096 Aug 16 04:18 current
drwxr-xr-x  2 root root  4096 Aug  2 10:04 legacy-340xx
lrwxrwxrwx  1 root root    52 Aug  2 10:38 libEGL.so.1 -> /etc/alternatives/nvidia--libEGL.so.1-i386-linux-gnu
lrwxrwxrwx  1 root root    51 Aug  2 10:38 libGL.so.1 -> /etc/alternatives/nvidia--libGL.so.1-i386-linux-gnu
lrwxrwxrwx  1 root root    58 Aug  2 10:38 libGLESv1_CM.so.1 -> /etc/alternatives/nvidia--libGLESv1_CM.so.1-i386-linux-gnu
lrwxrwxrwx  1 root root    55 Aug  2 10:38 libGLESv2.so.2 -> /etc/alternatives/nvidia--libGLESv2.so.2-i386-linux-gnu
lrwxrwxrwx  1 root root    59 Aug  2 10:38 libnvidia-cfg.so.1 -> /etc/alternatives/nvidia--libnvidia-cfg.so.1-i386-linux-gnu

/usr/lib/i386-linux-gnu/nvidia/current/:
total 11536
drwxr-xr-x 2 root root    4096 Aug 16 04:18 .
drwxr-xr-x 4 root root    4096 Aug  2 10:38 ..
lrwxrwxrwx 1 root root      16 Jul 26 21:42 libEGL.so.1 -> libEGL.so.375.82
-rw-r--r-- 1 root root   15012 Jul 20 04:27 libEGL.so.375.82
lrwxrwxrwx 1 root root      23 Jul 26 21:42 libEGL_nvidia.so.0 -> libEGL_nvidia.so.375.82
-rw-r--r-- 1 root root  724168 Jul 20 06:04 libEGL_nvidia.so.375.82
lrwxrwxrwx 1 root root      14 Jul 26 21:42 libGL.so.1 -> libGL.so.1.0.0
-rw-r--r-- 1 root root  528708 Jul 20 04:27 libGL.so.1.0.0
-rw-r--r-- 1 root root   36412 Jul 20 04:27 libGLESv1_CM.so.1
lrwxrwxrwx 1 root root      29 Jul 26 21:42 libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.375.82
-rw-r--r-- 1 root root   46812 Jul 20 06:04 libGLESv1_CM_nvidia.so.375.82
-rw-r--r-- 1 root root   46540 Jul 20 04:27 libGLESv2.so.2
lrwxrwxrwx 1 root root      26 Jul 26 21:42 libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.375.82
-rw-r--r-- 1 root root   79580 Jul 20 06:04 libGLESv2_nvidia.so.375.82
lrwxrwxrwx 1 root root      23 Jul 26 21:42 libGLX_indirect.so.0 -> libGLX_nvidia.so.375.82
lrwxrwxrwx 1 root root      23 Jul 26 21:42 libGLX_nvidia.so.0 -> libGLX_nvidia.so.375.82
-rw-r--r-- 1 root root 1117268 Jul 20 04:28 libGLX_nvidia.so.375.82
lrwxrwxrwx 1 root root      12 Jul 26 21:42 libcuda.so -> libcuda.so.1
lrwxrwxrwx 1 root root      17 Jul 26 21:42 libcuda.so.1 -> libcuda.so.375.82
-rw-r--r-- 1 root root 7792656 Jul 20 04:42 libcuda.so.375.82
lrwxrwxrwx 1 root root      23 Jul 26 21:42 libnvidia-cfg.so.1 -> libnvidia-cfg.so.375.82
-rw-r--r-- 1 root root  165424 Jul 20 05:44 libnvidia-cfg.so.375.82
lrwxrwxrwx 1 root root      17 Jul 26 21:42 libnvidia-ml.so -> libnvidia-ml.so.1
lrwxrwxrwx 1 root root      22 Jul 26 21:42 libnvidia-ml.so.1 -> libnvidia-ml.so.375.82
-rw-r--r-- 1 root root 1232656 Jul 20 05:45 libnvidia-ml.so.375.82

/usr/lib/i386-linux-gnu/nvidia/legacy-340xx/:
total 1972
drwxr-xr-x 2 root root    4096 Aug  2 10:04 .
drwxr-xr-x 4 root root    4096 Aug  2 10:38 ..
lrwxrwxrwx 1 root root      17 Jul  1 23:26 libEGL.so.1 -> libEGL.so.340.102
-rw-r--r-- 1 root root  662688 Jan 16  2017 libEGL.so.340.102
lrwxrwxrwx 1 root root      16 Jul  1 23:26 libGL.so.1 -> libGL.so.340.102
-rw-r--r-- 1 root root 1075136 Jan 16  2017 libGL.so.340.102
lrwxrwxrwx 1 root root      23 Jul  1 23:26 libGLESv1_CM.so.1 -> libGLESv1_CM.so.340.102
-rw-r--r-- 1 root root   42704 Jan 16  2017 libGLESv1_CM.so.340.102
lrwxrwxrwx 1 root root      20 Jul  1 23:26 libGLESv2.so.2 -> libGLESv2.so.340.102
-rw-r--r-- 1 root root   59088 Jan 16  2017 libGLESv2.so.340.102
lrwxrwxrwx 1 root root      24 Jul  1 23:26 libnvidia-cfg.so.1 -> libnvidia-cfg.so.340.102
-rw-r--r-- 1 root root  161328 Jan 16  2017 libnvidia-cfg.so.340.102

/usr/lib/mesa-diverted/:
total 96
drwxr-xr-x   5 root root  4096 Aug 17  2013 .
drwxr-xr-x 233 root root 77824 Aug 16 10:22 ..
drwxr-xr-x   2 root root  4096 Aug 17  2013 arm-linux-gnueabihf
drwxr-xr-x   2 root root  4096 May 14  2013 i386-linux-gnu
lrwxrwxrwx   1 root root    33 Feb 17  2013 libGL.so-master -> /etc/alternatives/libGL.so-master
drwxr-xr-x   2 root root  4096 Aug 14 19:18 x86_64-linux-gnu

/usr/lib/mesa-diverted/arm-linux-gnueabihf/:
total 8
drwxr-xr-x 2 root root 4096 Aug 17  2013 .
drwxr-xr-x 5 root root 4096 Aug 17  2013 ..

/usr/lib/mesa-diverted/i386-linux-gnu/:
total 8
drwxr-xr-x 2 root root 4096 May 14  2013 .
drwxr-xr-x 5 root root 4096 Aug 17  2013 ..

/usr/lib/mesa-diverted/x86_64-linux-gnu/:
total 728
drwxr-xr-x 2 root root   4096 Aug 14 19:18 .
drwxr-xr-x 5 root root   4096 Aug 17  2013 ..
lrwxrwxrwx 1 root root     15 Jul 25 07:04 libEGL.so -> libEGL.so.1.0.0
lrwxrwxrwx 1 root root     15 Jul 25 07:04 libEGL.so.1 -> libEGL.so.1.0.0
-rw-r--r-- 1 root root 223296 Jul 25 07:04 libEGL.so.1.0.0
lrwxrwxrwx 1 root root     10 Aug 14 19:18 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     14 Jul 25 07:04 libGL.so.1 -> libGL.so.1.2.0
-rw-r--r-- 1 root root 467520 Jul 25 07:04 libGL.so.1.2.0
lrwxrwxrwx 1 root root     18 Jul 25 07:04 libGLESv2.so -> libGLESv2.so.2.0.0
lrwxrwxrwx 1 root root     18 Jul 25 07:04 libGLESv2.so.2 -> libGLESv2.so.2.0.0
-rw-r--r-- 1 root root  38688 Jul 25 07:04 libGLESv2.so.2.0.0

/usr/lib/mesa/:
total 84
drwxr-xr-x   2 root root  4096 Sep 15  2011 .
drwxr-xr-x 233 root root 77824 Aug 16 10:22 ..

/usr/lib/nvidia/:
total 112
drwxr-xr-x   5 root root  4096 Aug  2 10:38 .
drwxr-xr-x 233 root root 77824 Aug 16 10:22 ..
-rw-r--r--   1 root root    57 Feb 26  2016 alternate-install-present
drwxr-xr-x   2 root root  4096 Mar 10  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 Aug  2 10:03 current
drwxr-xr-x   2 root root  4096 Aug  2 10:04 legacy-340xx
lrwxrwxrwx   1 root root    35 Aug  2 10:38 libglx.so -> /etc/alternatives/nvidia--libglx.so
lrwxrwxrwx   1 root root    24 Aug  2 10:38 nvidia -> /etc/alternatives/nvidia
lrwxrwxrwx   1 root root    46 Aug  2 10:38 nvidia-bug-report.sh -> /etc/alternatives/nvidia--nvidia-bug-report.sh
lrwxrwxrwx   1 root root    39 Aug  2 10:38 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 Mar 10  2016 .
drwxr-xr-x 5 root root 4096 Aug  2 10:38 ..

/usr/lib/nvidia/current/:
total 23152
drwxr-xr-x 2 root root     4096 Aug  2 10:03 .
drwxr-xr-x 5 root root     4096 Aug  2 10:38 ..
lrwxrwxrwx 1 root root       16 Jul 26 21:42 libglx.so -> libglx.so.375.82
-rw-r--r-- 1 root root 14025320 Jul 20 04:34 libglx.so.375.82
-rwxr-xr-x 1 root root    22392 Jun 24 13:00 nv-control-dpy
-rwxr-xr-x 1 root root    24445 Jul 20 06:10 nvidia-bug-report.sh
-rwxr-xr-x 1 root root   222000 Jul 20 05:45 nvidia-debugdump
-rwxr-xr-x 1 root root   231528 Jun 24 13:00 nvidia-settings
-rw-r--r-- 1 root root     8659 Jun 24 13:00 nvidia-settings.1.gz
-rw-r--r-- 1 root root     1217 Jun 24 13:00 nvidia-settings.desktop
-rwxr-xr-x 1 root root   477688 Jul 20 05:45 nvidia-smi
-rw-r--r-- 1 root root    19121 Jul 26 21:42 nvidia-smi.1.gz
-rw-r--r-- 1 root root     3141 Jul 26 21:42 nvidia.ids
-rw-r--r-- 1 root root  8641016 Jul 20 04:10 nvidia_drv.so

/usr/lib/nvidia/legacy-340xx/:
total 25108
drwxr-xr-x 2 root root     4096 Aug  2 10:04 .
drwxr-xr-x 5 root root     4096 Aug  2 10:38 ..
lrwxrwxrwx 1 root root       17 Jul  1 23:26 libglx.so -> libglx.so.340.102
-rw-r--r-- 1 root root 14447944 Jan 16  2017 libglx.so.340.102
-rw-r--r-- 1 root root      427 Jan 16  2017 monitoring.conf
-rwxr-xr-x 1 root root    34920 Jan 13  2017 nv-control-dpy
-rwxr-xr-x 1 root root    23458 Jan 16  2017 nvidia-bug-report.sh
-rwxr-xr-x 1 root root   208432 Jan 16  2017 nvidia-debugdump
-rwxr-xr-x 1 root root  1900056 Jan 13  2017 nvidia-settings
-rw-r--r-- 1 root root     8463 Jan 13  2017 nvidia-settings.1.gz
-rw-r--r-- 1 root root     1276 Jan 13  2017 nvidia-settings.desktop
-rw-r--r-- 1 root root     4392 Jul  1 23:26 nvidia.ids
-rw-r--r-- 1 root root  9049888 Jan 16  2017 nvidia_drv.so

/usr/lib/nvidia/nvidia/:
total 25108
drwxr-xr-x 2 root root     4096 Aug  2 10:04 .
drwxr-xr-x 5 root root     4096 Aug  2 10:38 ..
lrwxrwxrwx 1 root root       17 Jul  1 23:26 libglx.so -> libglx.so.340.102
-rw-r--r-- 1 root root 14447944 Jan 16  2017 libglx.so.340.102
-rw-r--r-- 1 root root      427 Jan 16  2017 monitoring.conf
-rwxr-xr-x 1 root root    34920 Jan 13  2017 nv-control-dpy
-rwxr-xr-x 1 root root    23458 Jan 16  2017 nvidia-bug-report.sh
-rwxr-xr-x 1 root root   208432 Jan 16  2017 nvidia-debugdump
-rwxr-xr-x 1 root root  1900056 Jan 13  2017 nvidia-settings
-rw-r--r-- 1 root root     8463 Jan 13  2017 nvidia-settings.1.gz
-rw-r--r-- 1 root root     1276 Jan 13  2017 nvidia-settings.desktop
-rw-r--r-- 1 root root     4392 Jul  1 23:26 nvidia.ids
-rw-r--r-- 1 root root  9049888 Jan 16  2017 nvidia_drv.so

/usr/lib/x86_64-linux-gnu/nvidia/:
total 208
drwxr-xr-x   4 root root   4096 Aug  2 10:38 .
drwxr-xr-x 173 root root 188416 Aug 16 11:14 ..
drwxr-xr-x   2 root root   4096 Aug 16 04:18 current
drwxr-xr-x   2 root root   4096 Aug  2 10:04 legacy-340xx
lrwxrwxrwx   1 root root     54 Aug  2 10:38 libEGL.so.1 -> /etc/alternatives/nvidia--libEGL.so.1-x86_64-linux-gnu
lrwxrwxrwx   1 root root     53 Aug  2 10:38 libGL.so.1 -> /etc/alternatives/nvidia--libGL.so.1-x86_64-linux-gnu
lrwxrwxrwx   1 root root     60 Aug  2 10:38 libGLESv1_CM.so.1 -> /etc/alternatives/nvidia--libGLESv1_CM.so.1-x86_64-linux-gnu
lrwxrwxrwx   1 root root     57 Aug  2 10:38 libGLESv2.so.2 -> /etc/alternatives/nvidia--libGLESv2.so.2-x86_64-linux-gnu
lrwxrwxrwx   1 root root     61 Aug  2 10:38 libnvidia-cfg.so.1 -> /etc/alternatives/nvidia--libnvidia-cfg.so.1-x86_64-linux-gnu

/usr/lib/x86_64-linux-gnu/nvidia/current/:
total 21696
drwxr-xr-x 2 root root    4096 Aug 16 04:18 .
drwxr-xr-x 4 root root    4096 Aug  2 10:38 ..
lrwxrwxrwx 1 root root      16 Jul 26 21:42 libEGL.so.1 -> libEGL.so.375.82
-rw-r--r-- 1 root root   20192 Jul 20 04:28 libEGL.so.375.82
lrwxrwxrwx 1 root root      23 Jul 26 21:42 libEGL_nvidia.so.0 -> libEGL_nvidia.so.375.82
-rw-r--r-- 1 root root 1079248 Jul 20 06:02 libEGL_nvidia.so.375.82
lrwxrwxrwx 1 root root      14 Jul 26 21:42 libGL.so.1 -> libGL.so.1.0.0
-rw-r--r-- 1 root root  665712 Jul 20 04:28 libGL.so.1.0.0
-rw-r--r-- 1 root root   43696 Jul 20 04:28 libGLESv1_CM.so.1
lrwxrwxrwx 1 root root      29 Jul 26 21:42 libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.375.82
-rw-r--r-- 1 root root   51872 Jul 20 06:02 libGLESv1_CM_nvidia.so.375.82
-rw-r--r-- 1 root root   60528 Jul 20 04:28 libGLESv2.so.2
lrwxrwxrwx 1 root root      26 Jul 26 21:42 libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.375.82
-rw-r--r-- 1 root root   82096 Jul 20 06:02 libGLESv2_nvidia.so.375.82
lrwxrwxrwx 1 root root      23 Jul 26 21:42 libGLX_indirect.so.0 -> libGLX_nvidia.so.375.82
lrwxrwxrwx 1 root root      23 Jul 26 21:42 libGLX_nvidia.so.0 -> libGLX_nvidia.so.375.82
-rw-r--r-- 1 root root 1278392 Jul 20 04:29 libGLX_nvidia.so.375.82
lrwxrwxrwx 1 root root      12 Jul 26 21:42 libcuda.so -> libcuda.so.1
lrwxrwxrwx 1 root root      17 Jul 26 21:42 libcuda.so.1 -> libcuda.so.375.82
-rw-r--r-- 1 root root 8241128 Jul 20 04:42 libcuda.so.375.82
lrwxrwxrwx 1 root root      23 Jul 26 21:42 libnvidia-cfg.so.1 -> libnvidia-cfg.so.375.82
-rw-r--r-- 1 root root  157896 Jul 20 05:43 libnvidia-cfg.so.375.82
lrwxrwxrwx 1 root root      17 Jul 26 21:42 libnvidia-ml.so -> libnvidia-ml.so.1
lrwxrwxrwx 1 root root      22 Jul 26 21:42 libnvidia-ml.so.1 -> libnvidia-ml.so.375.82
-rw-r--r-- 1 root root 1211616 Jul 20 05:44 libnvidia-ml.so.375.82
lrwxrwxrwx 1 root root      26 Jul 26 21:42 libnvidia-opencl.so.1 -> libnvidia-opencl.so.375.82
-rw-r--r-- 1 root root 8595016 Jul 20 04:43 libnvidia-opencl.so.375.82
lrwxrwxrwx 1 root root      25 Jul 26 21:42 libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.375.82
-rw-r--r-- 1 root root  698184 Jul 20 04:34 libvdpau_nvidia.so.375.82

/usr/lib/x86_64-linux-gnu/nvidia/legacy-340xx/:
total 5232
drwxr-xr-x 2 root root    4096 Aug  2 10:04 .
drwxr-xr-x 4 root root    4096 Aug  2 10:38 ..
lrwxrwxrwx 1 root root      17 Jul  1 23:26 libEGL.so.1 -> libEGL.so.340.102
-rw-r--r-- 1 root root  987736 Jan 16  2017 libEGL.so.340.102
lrwxrwxrwx 1 root root      16 Jul  1 23:26 libGL.so.1 -> libGL.so.340.102
-rw-r--r-- 1 root root 1267800 Jan 16  2017 libGL.so.340.102
lrwxrwxrwx 1 root root      23 Jul  1 23:26 libGLESv1_CM.so.1 -> libGLESv1_CM.so.340.102
-rw-r--r-- 1 root root   48024 Jan 16  2017 libGLESv1_CM.so.340.102
lrwxrwxrwx 1 root root      20 Jul  1 23:26 libGLESv2.so.2 -> libGLESv2.so.340.102
-rw-r--r-- 1 root root   62160 Jan 16  2017 libGLESv2.so.340.102
lrwxrwxrwx 1 root root      24 Jul  1 23:26 libnvidia-cfg.so.1 -> libnvidia-cfg.so.340.102
-rw-r--r-- 1 root root  161800 Jan 16  2017 libnvidia-cfg.so.340.102
lrwxrwxrwx 1 root root      17 Jul  1 23:26 libnvidia-ml.so -> libnvidia-ml.so.1
lrwxrwxrwx 1 root root      23 Jul  1 23:26 libnvidia-ml.so.1 -> libnvidia-ml.so.340.102
-rw-r--r-- 1 root root  880800 Jan 16  2017 libnvidia-ml.so.340.102
lrwxrwxrwx 1 root root      26 Jul  1 23:26 libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.340.102
-rw-r--r-- 1 root root 1922832 Jan 16  2017 libvdpau_nvidia.so.340.102

/etc/modprobe.d:
total 48
drwxr-xr-x   2 root root  4096 Aug  2 12:39 .
drwxr-xr-x 223 root root 20480 Aug 16 11:14 ..
-rw-r--r--   1 root root     0 Aug 26  2014 dkms.conf
-rw-r--r--   1 root root    75 Sep 22  2014 etc-modules-parameters.conf
-rw-r--r--   1 root root    23 Aug 28  2011 i915-kms.conf
-rw-r--r--   1 root root    51 May 11  2014 modesetting.conf
lrwxrwxrwx   1 root root    53 Aug  2 12:39 nvidia-blacklists-nouveau.conf -> /etc/alternatives/glx--nvidia-blacklists-nouveau.conf
-rw-r--r--   1 root root   260 Oct 21  2015 nvidia-kernel-common.conf
lrwxrwxrwx   1 root root    43 Aug  2 12:39 nvidia.conf -> /etc/alternatives/glx--nvidia-modprobe.conf
-rw-r--r--   1 root root    70 Dec  4  2009 oss4-base.conf
-rw-r--r--   1 root root    26 Aug 28  2011 radeon-kms.conf

/etc/modprobe.d/nvidia-kernel-common.conf:alias char-major-195* nvidia
/etc/modprobe.d/nvidia-kernel-common.conf:#options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=44 NVreg_DeviceFileMode=0660
/etc/modprobe.d/nvidia-kernel-common.conf:# options nvidia NVreg_EnableAGPSBA=1
/etc/modprobe.d/nvidia-kernel-common.conf:# options nvidia NVreg_EnableAGPFW=1

/etc/modules-load.d:
-rw-r--r-- 1 root root  214 Sep 22  2014 /etc/modules

/etc/modules-load.d/:
total 32
drwxr-xr-x   2 root root  4096 Aug 14 19:18 .
drwxr-xr-x 223 root root 20480 Aug 16 11:14 ..
-rw-r--r--   1 root root    52 May 22  2013 cryptmount.conf
-rw-r--r--   1 root root   119 Feb 24  2014 cups-filters.conf
lrwxrwxrwx   1 root root    10 Jul 20 14:13 modules.conf -> ../modules
lrwxrwxrwx   1 root root    39 Aug  2 12:39 nvidia.conf -> /etc/alternatives/glx--nvidia-load.conf


Files from nvidia-installer:

Config and logfiles:

<<<<<<<<<< /etc/modprobe.d/nvidia-blacklists-nouveau.conf >>>>>>>>>>
# You need to run "update-initramfs -u" after editing this file.

# see #580894
blacklist nouveau
^^^^^^^^^^ /etc/modprobe.d/nvidia-blacklists-nouveau.conf ^^^^^^^^^^

<<<<<<<<<< /etc/modprobe.d/nvidia-kernel-common.conf >>>>>>>>>>
alias char-major-195* nvidia
#options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=44 NVreg_DeviceFileMode=0660
# To enable FastWrites and Sidebus addressing, uncomment these lines
# options nvidia NVreg_EnableAGPSBA=1
# options nvidia NVreg_EnableAGPFW=1
^^^^^^^^^^ /etc/modprobe.d/nvidia-kernel-common.conf ^^^^^^^^^^

<<<<<<<<<< /etc/modprobe.d/nvidia.conf >>>>>>>>>>
install nvidia modprobe -i nvidia-legacy-340xx $CMDLINE_OPTS

install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-legacy-340xx-uvm $CMDLINE_OPTS

remove nvidia modprobe -r -i nvidia-uvm nvidia

# These aliases are defined in *all* nvidia modules.
# Duplicating them here sets higher precedence and ensures the selected
# module gets loaded instead of a random first match if more than one
# version is installed. See #798207.
alias	pci:v000010DEd00000E00sv*sd*bc04sc80i00*	nvidia
alias	pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*	nvidia
alias	pci:v000010DEd*sv*sd*bc03sc02i00*		nvidia
alias	pci:v000010DEd*sv*sd*bc03sc00i00*		nvidia
^^^^^^^^^^ /etc/modprobe.d/nvidia.conf ^^^^^^^^^^

<<<<<<<<<< /etc/X11/xorg.conf >>>>>>>>>>
Section "Module"
	Load		"glx"
EndSection

Section "Device"
	Identifier	"Default Device"
	Driver		"nvidia"
	VendorName	"NVIDIA Corporation"
	BoardName	"GeForce 8800 GT"
#	Option		"PixmapCacheSize" "300000"
#	Option		"OnDemandVBlankInterrupts" "True"
	Option		"AllowSHMPixmaps" "true"
	Option		"NoLogo" "true"
EndSection

Section "ServerFlags"
	Option		"Xinerama" "0"
EndSection

#Section "Monitor"
#	Identifier	"Default Monitor"
#	VendorName	"Unknown"
#	ModelName	"DELL D1226H"
#	HorizSync	30.0 - 95.0
#	VertRefresh	50.0 - 160.0
#EndSection

Section "Screen"
# Removed Option        "metamodes" "CRT: 1600x1200 +0+0, DFP: null; CRT: 800x600 @1280x720 +0+0, DFP: 1280x720 +0+0"
	Identifier	"Default Screen"
	Device		"Default Device"
#	Monitor		"Default Monitor"
	DefaultDepth	24
	Option		"TwinView" "1"
	Option		"TwinViewXineramaInfoOrder" "DFP-0"
	Option		"ConnectedMonitor" "DFP-0, DFP-1"
	Option		"metamodes" "DFP-0: 2560x1440 +0+0, DFP-1: null; DFP-0: null, DFP-1: 1280x720 +0+0"
	Option		"CustomEDID" "DFP-0:/etc/X11/shimian-qh270.edid"
	Option		"SWCursor" "true"
	SubSection	"Display"
		Depth		 24
	EndSubSection
EndSection
^^^^^^^^^^ /etc/X11/xorg.conf ^^^^^^^^^^

<<<<<<<<<< /var/log/Xorg.0.log >>>>>>>>>>
[ 21664.231]
X.Org X Server 1.19.3
Release Date: 2017-03-15
[ 21664.231] X Protocol Version 11, Revision 0
[ 21664.231] Build Operating System: Linux 4.9.0-3-amd64 x86_64 Debian
[ 21664.231] Current Operating System: Linux tims-pc 4.12.0-1-amd64 #1 SMP Debian 4.12.6-1 (2017-08-12) x86_64
[ 21664.231] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.12.0-1-amd64 root=UUID=a0c6f352-29e3-4143-9823-53494a340c88 ro
[ 21664.231] Build Date: 07 July 2017  06:22:09AM
[ 21664.231] xorg-server 2:1.19.3-2 (https://www.debian.org/support)
[ 21664.231] Current version of pixman: 0.34.0
[ 21664.231] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 21664.231] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 21664.231] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug 16 10:53:27 2017
[ 21664.231] (==) Using config file: "/etc/X11/xorg.conf"
[ 21664.231] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 21664.231] (==) No Layout section.  Using the first Screen section.
[ 21664.231] (**) |-->Screen "Default Screen" (0)
[ 21664.231] (**) |   |-->Monitor "<default monitor>"
[ 21664.231] (**) |   |-->Device "Default Device"
[ 21664.231] (==) No monitor specified for screen "Default Screen".
	Using a default monitor configuration.
[ 21664.231] (**) Option "Xinerama" "0"
[ 21664.231] (==) Automatically adding devices
[ 21664.231] (==) Automatically enabling devices
[ 21664.231] (==) Automatically adding GPU devices
[ 21664.231] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 21664.231] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 21664.231] 	Entry deleted from font path.
[ 21664.231] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[ 21664.231] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 21664.231] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 21664.231] (II) Loader magic: 0x563edd39be00
[ 21664.231] (II) Module ABI versions:
[ 21664.231] 	X.Org ANSI C Emulation: 0.4
[ 21664.231] 	X.Org Video Driver: 23.0
[ 21664.231] 	X.Org XInput driver : 24.1
[ 21664.231] 	X.Org Server Extension : 10.0
[ 21664.231] (++) using VT number 7

[ 21664.231] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 21664.232] (--) PCI:*(0:1:0:0) 10de:0a65:10de:0a65 rev 162, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 21664.232] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 21664.232] (II) LoadModule: "glx"
[ 21664.232] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[ 21664.238] (II) Module glx: vendor="NVIDIA Corporation"
[ 21664.238] 	compiled for 4.0.2, module version = 1.0.0
[ 21664.238] 	Module class: X.Org Server Extension
[ 21664.238] (II) NVIDIA GLX Module  340.102  Mon Jan 16 12:37:38 PST 2017
[ 21664.238] (II) LoadModule: "nvidia"
[ 21664.238] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 21664.238] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 21664.238] 	compiled for 4.0.2, module version = 1.0.0
[ 21664.238] 	Module class: X.Org Video Driver
[ 21664.238] (II) NVIDIA dlloader X Driver  340.102  Mon Jan 16 12:17:09 PST 2017
[ 21664.238] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 21664.241] (II) Loading sub module "fb"
[ 21664.241] (II) LoadModule: "fb"
[ 21664.241] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 21664.241] (II) Module fb: vendor="X.Org Foundation"
[ 21664.241] 	compiled for 1.19.3, module version = 1.0.0
[ 21664.241] 	ABI class: X.Org ANSI C Emulation, version 0.4
[ 21664.241] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 21664.241] (II) Loading sub module "wfb"
[ 21664.241] (II) LoadModule: "wfb"
[ 21664.241] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 21664.241] (II) Module wfb: vendor="X.Org Foundation"
[ 21664.241] 	compiled for 1.19.3, module version = 1.0.0
[ 21664.241] 	ABI class: X.Org ANSI C Emulation, version 0.4
[ 21664.241] (II) Loading sub module "ramdac"
[ 21664.241] (II) LoadModule: "ramdac"
[ 21664.241] (II) Module "ramdac" already built-in
[ 21664.242] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 21664.243] (EE) NVIDIA:     system's kernel log for additional error messages and
[ 21664.243] (EE) NVIDIA:     consult the NVIDIA README for details.
[ 21664.243] (EE) No devices detected.
[ 21664.243] (EE)
Fatal server error:
[ 21664.243] (EE) no screens found(EE)
[ 21664.243] (EE)
Please consult the The X.Org Foundation support
	 at http://wiki.x.org
 for help.
[ 21664.243] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 21664.243] (EE)
[ 21664.244] (EE) Server terminated with error (1). Closing log file.
^^^^^^^^^^ /var/log/Xorg.0.log ^^^^^^^^^^

<<<<<<<<<< /var/log/Xorg.0.log.old >>>>>>>>>>
[ 21664.213]
X.Org X Server 1.19.3
Release Date: 2017-03-15
[ 21664.213] X Protocol Version 11, Revision 0
[ 21664.213] Build Operating System: Linux 4.9.0-3-amd64 x86_64 Debian
[ 21664.213] Current Operating System: Linux tims-pc 4.12.0-1-amd64 #1 SMP Debian 4.12.6-1 (2017-08-12) x86_64
[ 21664.213] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.12.0-1-amd64 root=UUID=a0c6f352-29e3-4143-9823-53494a340c88 ro
[ 21664.213] Build Date: 07 July 2017  06:22:09AM
[ 21664.213] xorg-server 2:1.19.3-2 (https://www.debian.org/support)
[ 21664.213] Current version of pixman: 0.34.0
[ 21664.213] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 21664.213] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 21664.213] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug 16 10:53:27 2017
[ 21664.214] (==) Using config file: "/etc/X11/xorg.conf"
[ 21664.214] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 21664.214] (==) No Layout section.  Using the first Screen section.
[ 21664.214] (**) |-->Screen "Default Screen" (0)
[ 21664.214] (**) |   |-->Monitor "<default monitor>"
[ 21664.214] (**) |   |-->Device "Default Device"
[ 21664.214] (==) No monitor specified for screen "Default Screen".
	Using a default monitor configuration.
[ 21664.214] (**) Option "Xinerama" "0"
[ 21664.214] (==) Automatically adding devices
[ 21664.214] (==) Automatically enabling devices
[ 21664.214] (==) Automatically adding GPU devices
[ 21664.214] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 21664.214] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 21664.214] 	Entry deleted from font path.
[ 21664.214] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[ 21664.214] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 21664.214] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 21664.214] (II) Loader magic: 0x55b7e7871e00
[ 21664.214] (II) Module ABI versions:
[ 21664.214] 	X.Org ANSI C Emulation: 0.4
[ 21664.214] 	X.Org Video Driver: 23.0
[ 21664.214] 	X.Org XInput driver : 24.1
[ 21664.214] 	X.Org Server Extension : 10.0
[ 21664.214] (++) using VT number 7

[ 21664.214] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 21664.215] (--) PCI:*(0:1:0:0) 10de:0a65:10de:0a65 rev 162, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 21664.215] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 21664.215] (II) LoadModule: "glx"
[ 21664.215] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[ 21664.220] (II) Module glx: vendor="NVIDIA Corporation"
[ 21664.220] 	compiled for 4.0.2, module version = 1.0.0
[ 21664.220] 	Module class: X.Org Server Extension
[ 21664.220] (II) NVIDIA GLX Module  340.102  Mon Jan 16 12:37:38 PST 2017
[ 21664.220] (II) LoadModule: "nvidia"
[ 21664.220] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 21664.221] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 21664.221] 	compiled for 4.0.2, module version = 1.0.0
[ 21664.221] 	Module class: X.Org Video Driver
[ 21664.221] (II) NVIDIA dlloader X Driver  340.102  Mon Jan 16 12:17:09 PST 2017
[ 21664.221] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 21664.223] (II) Loading sub module "fb"
[ 21664.223] (II) LoadModule: "fb"
[ 21664.224] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 21664.224] (II) Module fb: vendor="X.Org Foundation"
[ 21664.224] 	compiled for 1.19.3, module version = 1.0.0
[ 21664.224] 	ABI class: X.Org ANSI C Emulation, version 0.4
[ 21664.224] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 21664.224] (II) Loading sub module "wfb"
[ 21664.224] (II) LoadModule: "wfb"
[ 21664.224] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 21664.224] (II) Module wfb: vendor="X.Org Foundation"
[ 21664.224] 	compiled for 1.19.3, module version = 1.0.0
[ 21664.224] 	ABI class: X.Org ANSI C Emulation, version 0.4
[ 21664.224] (II) Loading sub module "ramdac"
[ 21664.224] (II) LoadModule: "ramdac"
[ 21664.224] (II) Module "ramdac" already built-in
[ 21664.226] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 21664.226] (EE) NVIDIA:     system's kernel log for additional error messages and
[ 21664.226] (EE) NVIDIA:     consult the NVIDIA README for details.
[ 21664.226] (EE) No devices detected.
[ 21664.226] (EE)
Fatal server error:
[ 21664.226] (EE) no screens found(EE)
[ 21664.226] (EE)
Please consult the The X.Org Foundation support
	 at http://wiki.x.org
 for help.
[ 21664.226] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 21664.226] (EE)
[ 21664.227] (EE) Server terminated with error (1). Closing log file.
^^^^^^^^^^ /var/log/Xorg.0.log.old ^^^^^^^^^^

Kernel modules: nvidia.ko
/lib/modules/4.12.0-1-amd64/updates/dkms/nvidia-current-uvm.ko
/lib/modules/4.12.0-1-amd64/updates/dkms/nvidia-current-drm.ko
/lib/modules/4.12.0-1-amd64/updates/dkms/nvidia-current.ko
/lib/modules/4.12.0-1-amd64/updates/dkms/nvidia-current-modeset.ko
/lib/modules/3.2.0-1-amd64/kernel/drivers/video/nvidia/nvidiafb.ko

filename:       /lib/modules/4.12.0-1-amd64/updates/dkms/nvidia-current-uvm.ko
supported:      external
license:        MIT
depends:        nvidia
vermagic:       4.12.0-1-amd64 SMP mod_unload modversions
filename:       /lib/modules/4.12.0-1-amd64/updates/dkms/nvidia-current-drm.ko
version:        375.82
supported:      external
license:        MIT
srcversion:     C8AA8F64B3F670EE0B4A45E
alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        drm,drm_kms_helper,nvidia-modeset
vermagic:       4.12.0-1-amd64 SMP mod_unload modversions
filename:       /lib/modules/4.12.0-1-amd64/updates/dkms/nvidia-current.ko
alias:          char-major-195-*
version:        375.82
supported:      external
license:        NVIDIA
srcversion:     6959CE7285F7E3948CFE78E
alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:
vermagic:       4.12.0-1-amd64 SMP mod_unload modversions
filename:       /lib/modules/4.12.0-1-amd64/updates/dkms/nvidia-current-modeset.ko
version:        375.82
supported:      external
license:        NVIDIA
srcversion:     252CFD821549601A1591E20
depends:        nvidia
vermagic:       4.12.0-1-amd64 SMP mod_unload modversions
filename:       /lib/modules/3.2.0-1-amd64/kernel/drivers/video/nvidia/nvidiafb.ko
license:        GPL
description:    Framebuffer driver for nVidia graphics chipset
author:         Antonino Daplas
alias:          pci:v000010DEd*sv*sd*bc03sc*i*
depends:        vgastate
intree:         Y
vermagic:       3.2.0-1-amd64 SMP mod_unload modversions

lsmod:
Module                  Size  Used by
drm_kms_helper        151552  0
drm                   348160  1 drm_kms_helper
bnep                   20480  2
cpufreq_conservative    16384  0
cpufreq_powersave      16384  0
cpufreq_userspace      16384  0
pci_stub               16384  1
vboxpci                24576  0
vboxnetadp             28672  0
vboxnetflt             28672  0
vboxdrv               438272  3 vboxnetadp,vboxnetflt,vboxpci
binfmt_misc            20480  1
nfsd                  323584  2
auth_rpcgss            61440  1 nfsd
nfs_acl                16384  1 nfsd
nfs                   241664  0
lockd                  90112  2 nfsd,nfs
grace                  16384  2 nfsd,lockd
fscache                61440  1 nfs
sunrpc                327680  6 auth_rpcgss,nfsd,nfs_acl,lockd,nfs
firewire_sbp2          24576  0
firewire_core          65536  1 firewire_sbp2
crc_itu_t              16384  1 firewire_core
parport_pc             28672  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 lp,parport_pc,ppdev
loop                   28672  0
dm_crypt               36864  0
dm_mod                114688  1 dm_crypt
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
uas                    24576  0
intel_powerclamp       16384  0
snd_usb_audio         192512  0
usb_storage            69632  1 uas
snd_usbmidi_lib        28672  1 snd_usb_audio
snd_rawmidi            32768  1 snd_usbmidi_lib
snd_seq_device         16384  1 snd_rawmidi
joydev                 20480  0
snd_hda_codec_hdmi     49152  4
coretemp               16384  0
kvm_intel             196608  0
hci_uart               98304  0
kvm                   577536  1 kvm_intel
btbcm                  16384  1 hci_uart
irqbypass              16384  1 kvm
snd_hda_codec_realtek    90112  1
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
btqca                  16384  1 hci_uart
btintel                16384  1 hci_uart
crct10dif_pclmul       16384  0
snd_hda_intel          40960  0
snd_hda_codec         126976  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
bluetooth             540672  11 hci_uart,btintel,btqca,bnep,btbcm
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
ecdh_generic           24576  1 bluetooth
intel_cstate           16384  0
snd_hda_core           77824  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
rfkill                 24576  2 bluetooth
intel_uncore          118784  0
serio_raw              16384  0
snd_hwdep              16384  2 snd_hda_codec,snd_usb_audio
intel_rapl_perf        16384  0
snd_pcm               102400  5 snd_hda_intel,snd_hda_codec,snd_usb_audio,snd_hda_core,snd_hda_codec_hdmi
snd_timer              32768  1 snd_pcm
evdev                  24576  27
snd                    77824  12 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_usb_audio,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_usbmidi_lib,snd_seq_device,snd_hda_codec_realtek,snd_pcm
pcspkr                 16384  0
soundcore              16384  1 snd
video                  40960  0
sg                     32768  0
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
intel_lpss_acpi        16384  0
intel_lpss             16384  1 intel_lpss_acpi
mfd_core               16384  1 intel_lpss
battery                20480  0
button                 16384  0
shpchp                 36864  0
intel_pch_thermal      16384  0
wmi                    16384  0
acpi_als               16384  0
mei_me                 40960  0
mei                    94208  1 mei_me
acpi_pad               24576  0
tpm_infineon           20480  0
kfifo_buf              16384  1 acpi_als
industrialio           65536  2 acpi_als,kfifo_buf
ext4                  593920  2
crc16                  16384  2 bluetooth,ext4
jbd2                  102400  1 ext4
crc32c_generic         16384  0
fscrypto               28672  1 ext4
ecb                    16384  0
mbcache                16384  1 ext4
sr_mod                 24576  0
cdrom                  61440  1 sr_mod
sd_mod                 49152  5
hid_generic            16384  0
usbhid                 49152  0
crc32c_intel           24576  2
ahci                   36864  3
libahci                32768  1 ahci
aesni_intel           167936  1
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
xhci_pci               16384  0
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper            16384  1 aesni_intel
xhci_hcd              208896  1 xhci_pci
libata                233472  2 ahci,libahci
i2c_i801               24576  0
alx                    45056  0
usbcore               245760  7 usbhid,snd_usb_audio,usb_storage,xhci_pci,snd_usbmidi_lib,uas,xhci_hcd
mdio                   16384  1 alx
scsi_mod              212992  7 firewire_sbp2,sd_mod,usb_storage,libata,uas,sr_mod,sg
usb_common             16384  1 usbcore
fan                    16384  0
thermal                20480  0
i2c_hid                20480  0
hid                   118784  3 i2c_hid,hid_generic,usbhid

xrandr:
Can't open display

OpenCL ICDs:
/etc/OpenCL/vendors/nvidia.icd:libnvidia-opencl.so.1


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages nvidia-legacy-340xx-kernel-dkms depends on:
ii  dkms                                                             2.3-3
ii  nvidia-installer-cleanup                                         20151021+4
ii  nvidia-legacy-340xx-kernel-support [nvidia-legacy-340xx-kernel-  340.102-2

Versions of packages nvidia-legacy-340xx-kernel-dkms recommends:
ii  nvidia-legacy-340xx-driver  340.102-2

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

Versions of packages nvidia-legacy-340xx-driver depends on:
ii  nvidia-installer-cleanup                20151021+4
ii  nvidia-legacy-340xx-alternative         340.102-2
ii  nvidia-legacy-340xx-driver-bin          340.102-2
ii  nvidia-legacy-340xx-driver-libs         340.102-2
ii  nvidia-legacy-340xx-vdpau-driver        340.102-2
ii  nvidia-support                          20151021+4
ii  xserver-xorg-video-nvidia-legacy-340xx  340.102-2

Versions of packages nvidia-legacy-340xx-driver recommends:
ii  nvidia-persistenced           375.26-2
ii  nvidia-settings-legacy-340xx  340.101-1

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

Versions of packages xserver-xorg-video-nvidia-legacy-340xx depends on:
ii  libc6                                  2.24-14
ii  libnvidia-legacy-340xx-glcore          340.102-2
ii  nvidia-installer-cleanup               20151021+4
ii  nvidia-legacy-340xx-alternative        340.102-2
ii  nvidia-support                         20151021+4
ii  xserver-xorg-core [xorg-video-abi-23]  2:1.19.3-2

Versions of packages xserver-xorg-video-nvidia-legacy-340xx recommends:
ii  nvidia-legacy-340xx-driver        340.102-2
ii  nvidia-legacy-340xx-vdpau-driver  340.102-2
ii  nvidia-settings-legacy-340xx      340.101-1

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

Versions of packages nvidia-legacy-340xx-alternative depends on:
ii  glx-alternative-nvidia  0.8.0

Versions of packages glx-alternative-nvidia depends on:
ii  dpkg                  1.18.24
ii  glx-alternative-mesa  0.8.0
ii  glx-diversions        0.8.0
ii  update-glx            0.8.0

Versions of packages glx-alternative-nvidia suggests:
ii  nvidia-driver  375.82-1

Versions of packages xserver-xorg-video-intel depends on:
ii  libc6                                  2.24-14
ii  libdrm-intel1                          2.4.82-1
ii  libdrm2                                2.4.82-1
ii  libpciaccess0                          0.13.4-1+b2
ii  libpixman-1-0                          0.34.0-1
ii  libudev1                               234-2
ii  libx11-6                               2:1.6.4-3
ii  libx11-xcb1                            2:1.6.4-3
ii  libxcb-dri2-0                          1.12-1
ii  libxcb-dri3-0                          1.12-1
ii  libxcb-sync1                           1.12-1
ii  libxcb-util0                           0.3.8-3+b2
ii  libxcb1                                1.12-1
ii  libxcursor1                            1:1.1.14-1+b4
ii  libxdamage1                            1:1.1.4-2+b3
ii  libxext6                               2:1.3.3-1+b2
ii  libxfixes3                             1:5.0.3-1
ii  libxinerama1                           2:1.1.3-1+b3
ii  libxrandr2                             2:1.5.1-1
ii  libxrender1                            1:0.9.10-1
ii  libxshmfence1                          1.2-1+b2
ii  libxss1                                1:1.2.2-1+b2
ii  libxtst6                               2:1.2.3-1
ii  libxv1                                 2:1.0.11-1
ii  libxvmc1                               2:1.0.10-1
ii  xserver-xorg-core [xorg-video-abi-23]  2:1.19.3-2

Versions of packages nvidia-legacy-340xx-kernel-dkms is related to:
pn  bumblebee                                                        <none>
pn  bumblebee-nvidia                                                 <none>
pn  ccache                                                           <none>
ii  libcuda1 [libcuda1-any]                                          375.82-1
pn  libdrm-nouveau1                                                  <none>
pn  libdrm-nouveau1a                                                 <none>
ii  libdrm-nouveau2                                                  2.4.82-1
ii  libgl1-nvidia-glvnd-glx [libgl1-nvidia-glx-any]                  375.82-1
ii  libgl1-nvidia-legacy-340xx-glx [libgl1-nvidia-glx-any]           340.102-2
ii  linux-headers-3.10-3-amd64 [linux-headers]                       3.10.11-1
ii  linux-headers-3.2.0-1-amd64 [linux-headers]                      3.2.6-1
ii  make                                                             4.1-9.1
ii  nvidia-driver [nvidia-glx-any]                                   375.82-1
pn  nvidia-glx-legacy-340xx                                          <none>
ii  nvidia-kernel-common                                             20151021+4
ii  nvidia-kernel-support [nvidia-kernel-support-any]                375.82-1
ii  nvidia-legacy-340xx-driver [nvidia-glx-any]                      340.102-2
ii  nvidia-legacy-340xx-kernel-dkms                                  340.102-2
pn  nvidia-legacy-340xx-kernel-source                                <none>
ii  nvidia-legacy-340xx-kernel-support [nvidia-kernel-support-any]   340.102-2
ii  nvidia-modprobe                                                  375.26-1
ii  nvidia-opencl-icd [opencl-icd]                                   375.82-1
ii  nvidia-settings                                                  375.66-2
ii  nvidia-support                                                   20151021+4
pn  nvidia-xconfig                                                   <none>
ii  ocl-icd-libopencl1 [libopencl1]                                  2.2.11-1
ii  xserver-xorg                                                     1:7.7+19
ii  xserver-xorg-core                                                2:1.19.3-2
ii  xserver-xorg-legacy                                              2:1.19.3-2
ii  xserver-xorg-video-nouveau                                       1:1.0.15-2
ii  xserver-xorg-video-nvidia [xserver-xorg-video-nvidia-any]        375.82-1
ii  xserver-xorg-video-nvidia-legacy-340xx [xserver-xorg-video-nvid  340.102-2

-- no debconf information
-------------- next part --------------
DKMS make.log for nvidia-legacy-340xx-340.102 for kernel 4.12.0-1-amd64 (x86_64)
Wed 16 Aug 12:21:39 BST 2017
NVIDIA: calling KBUILD...
make NV_MODULE_SUFFIX= KBUILD_OUTPUT=/lib/modules/4.12.0-1-amd64/build KERNEL_SOURCES=/lib/modules/4.12.0-1-amd64/source KERNEL_OUTPUT=/lib/modules/4.12.0-1-amd64/build KBUILD_VERBOSE=1 -C /lib/modules/4.12.0-1-amd64/source SUBDIRS=/var/lib/dkms/nvidia-legacy-340xx/340.102/build ARCH=x86_64 modules
make[1]: Entering directory '/usr/src/linux-headers-4.12.0-1-common'
make -C /lib/modules/4.12.0-1-amd64/build KBUILD_SRC=/usr/src/linux-headers-4.12.0-1-common \
-f /usr/src/linux-headers-4.12.0-1-common/Makefile modules
make[2]: Entering directory '/usr/src/linux-headers-4.12.0-1-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-340xx/340.102/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-legacy-340xx/340.102/build/.tmp_versions/*
make -f /usr/src/linux-headers-4.12.0-1-common/scripts/Makefile.build obj=/var/lib/dkms/nvidia-legacy-340xx/340.102/build
echo \#define NV_COMPILER \"` gcc-6 -v 2>&1 | tail -n 1`\" > /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv_compiler.h
CONFTEST=/bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.102/build/conftest.sh " gcc-6" " gcc-6" x86_64 /lib/modules/4.12.0-1-amd64/source /lib/modules/4.12.0-1-amd64/build
(cat /dev/null;   echo kernel//var/lib/dkms/nvidia-legacy-340xx/340.102/build/nvidia.ko;) > /var/lib/dkms/nvidia-legacy-340xx/340.102/build/modules.order
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 -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 -Werror=designated-init    
LINUXINCLUDE=-I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.12.0-1-common/include -I./include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.12.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.12.0-1-common/include/linux/kconfig.h
LDFLAGS=-m elf_x86_64
ARCH=x86_64
for SANITY_CHECK in rivafb_sanity_check nvidiafb_sanity_check dom0_sanity_check xen_sanity_check; do \
 echo " CONFTEST: $SANITY_CHECK"; \
 if ! /bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.102/build/conftest.sh " gcc-6" " gcc-6" x86_64 /lib/modules/4.12.0-1-amd64/source /lib/modules/4.12.0-1-amd64/build $SANITY_CHECK full_output; then \
 exit 1; \
 fi; \
done
 CONFTEST: rivafb_sanity_check
 CONFTEST: compile_tests
if ! /bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.102/build/conftest.sh " gcc-6" " gcc-6" x86_64 /lib/modules/4.12.0-1-amd64/source /lib/modules/4.12.0-1-amd64/build compile_tests remap_pfn_range vmap set_pages_uc set_memory_uc set_memory_array_uc change_page_attr i2c_adapter pci_get_class pm_message_t irq_handler_t pci_choose_state vm_insert_page acpi_device_ops acpi_op_remove acpi_device_id acquire_console_sem console_lock kmem_cache_create outer_flush_all on_each_cpu smp_call_function nvmap_support acpi_evaluate_integer ioremap_cache ioremap_wc proc_dir_entry INIT_WORK acpi_walk_namespace scatterlist pci_domain_nr pci_dma_mapping_error file_operations sg_alloc_table sg_init_table pci_get_domain_bus_and_slot get_num_physpages efi_enabled dom0_kernel_present drm_available proc_create_data pde_data proc_remove sg_table pm_vt_switch_required pci_save_state file_inode drm_pci_set_busid write_cr4 for_each_online_node node_end_pfn get_user_pages_remote; then exit 1; fi
 CONFTEST: patch_check
if ! /bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.102/build/conftest.sh " gcc-6" " gcc-6" x86_64 /lib/modules/4.12.0-1-amd64/source /lib/modules/4.12.0-1-amd64/build patch_check; then exit 1; fi
 CONFTEST patches.h:
static struct {
const char *short_description;
const char *description;
} __nv_patches[] = {
{ NULL, NULL } };
conftest.sh: CC= gcc-6
conftest.sh: CFLAGS=-O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest25394" -DKBUILD_MODNAME="#conftest25394" -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/lib/modules/4.12.0-1-amd64/source/include/asm-x86_64/mach-default -I/lib/modules/4.12.0-1-amd64/source/include/asm-x86/mach-default -I/lib/modules/4.12.0-1-amd64/source/arch/x86/include/asm/mach-default -I/lib/modules/4.12.0-1-amd64/source/include/arch/x86/include/uapi -I/lib/modules/4.12.0-1-amd64/build/include2 -I/lib/modules/4.12.0-1-amd64/build/include -include /lib/modules/4.12.0-1-amd64/build/include/generated/autoconf.h -I/lib/modules/4.12.0-1-amd64/source/include -I/lib/modules/4.12.0-1-amd64/source/include/uapi -I/lib/modules/4.12.0-1-amd64/build/include/generated/uapi -I/lib/modules/4.12.0-1-amd64/source/arch/x86/include -I/lib/modules/4.12.0-1-amd64/source/arch/x86/include/uapi -I/lib/modules/4.12.0-1-amd64/build/arch/x86/include/generated -I/lib/modules/4.12.0-1-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 -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 -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 -Werror=designated-init    
conftest.sh: ARCH=x86_64
 CONFTEST: nvidiafb_sanity_check
 CONFTEST: dom0_sanity_check
 CONFTEST: xen_sanity_check
 CONFTEST conftest.h:
 CONFTEST functions.h:
 CONFTEST macros.h:
 CONFTEST symbols.h:
 CONFTEST types.h:
#define NV_REMAP_PFN_RANGE_PRESENT
#define NV_VMAP_PRESENT
#define NV_VMAP_ARGUMENT_COUNT 4
#undef NV_SET_PAGES_UC_PRESENT
#undef NV_SET_MEMORY_UC_PRESENT
#undef NV_SET_MEMORY_ARRAY_UC_PRESENT
#undef NV_CHANGE_PAGE_ATTR_PRESENT
#define NV_PCI_GET_CLASS_PRESENT
#define NV_PCI_CHOOSE_STATE_PRESENT
#define NV_VM_INSERT_PAGE_PRESENT
#undef NV_ACQUIRE_CONSOLE_SEM_PRESENT
#define NV_CONSOLE_LOCK_PRESENT
#define NV_KMEM_CACHE_CREATE_PRESENT
#define NV_KMEM_CACHE_CREATE_ARGUMENT_COUNT 5
#define NV_ON_EACH_CPU_PRESENT
#define NV_ON_EACH_CPU_ARGUMENT_COUNT 3
#define NV_SMP_CALL_FUNCTION_PRESENT
#define NV_SMP_CALL_FUNCTION_ARGUMENT_COUNT 3
#define NV_ACPI_EVALUATE_INTEGER_PRESENT
typedef unsigned long long nv_acpi_integer_t;
#define NV_IOREMAP_CACHE_PRESENT
#define NV_IOREMAP_WC_PRESENT
#define NV_ACPI_WALK_NAMESPACE_PRESENT
#define NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT 7
#define NV_PCI_DOMAIN_NR_PRESENT
#define NV_PCI_DMA_MAPPING_ERROR_PRESENT
#define NV_PCI_DMA_MAPPING_ERROR_ARGUMENT_COUNT 2
#define NV_SG_ALLOC_TABLE_PRESENT
#define NV_SG_ALLOC_TABLE_FROM_PAGES_PRESENT
#define NV_SG_INIT_TABLE_PRESENT
#define NV_PCI_GET_DOMAIN_BUS_AND_SLOT_PRESENT
#define NV_GET_NUM_PHYSPAGES_PRESENT
#define NV_EFI_ENABLED_PRESENT
#define NV_EFI_ENABLED_ARGUMENT_COUNT 1
#define NV_PROC_CREATE_DATA_PRESENT
#define NV_PDE_DATA_PRESENT
#define NV_PROC_REMOVE_PRESENT
#define NV_PM_VT_SWITCH_REQUIRED_PRESENT
#define NV_PCI_SAVE_STATE_ARGUMENT_COUNT 1
#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
#define NV_GET_USER_PAGES_REMOTE_HAS_LOCKED_ARG
#include "conftest/macros.h"
#include "conftest/functions.h"
#include "conftest/symbols.h"
#include "conftest/types.h"
#include "conftest/generic.h"
#include "conftest/headers.h"
 CONFTEST generic.h:
#define NV_INIT_WORK_PRESENT
#define NV_INIT_WORK_ARGUMENT_COUNT 2
#undef NV_I2C_ADAPTER_HAS_CLIENT_REGISTER
#define NV_PM_MESSAGE_T_PRESENT
#define NV_PM_MESSAGE_T_HAS_EVENT
#define NV_IRQ_HANDLER_T_PRESENT
#define NV_IRQ_HANDLER_T_ARGUMENT_COUNT 2
#undef NV_ACPI_DEVICE_OPS_HAS_MATCH
#define NV_ACPI_DEVICE_OPS_REMOVE_ARGUMENT_COUNT 1
#define NV_ACPI_DEVICE_ID_HAS_DRIVER_DATA
#undef NV_OUTER_FLUSH_ALL_PRESENT
#undef NV_PROC_DIR_ENTRY_HAS_OWNER
#define NV_SCATTERLIST_HAS_PAGE_LINK
#undef NV_FILE_OPERATIONS_HAS_IOCTL
#define NV_FILE_OPERATIONS_HAS_UNLOCKED_IOCTL
#define NV_FILE_OPERATIONS_HAS_COMPAT_IOCTL
#define NV_SG_TABLE_PRESENT
#define NV_FILE_HAS_INODE
#undef HAVE_NV_ANDROID
#undef NV_DOM0_KERNEL_PRESENT
#define NV_DRM_AVAILABLE
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-340xx/340.102/build/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.12.0-1-common/include -I./include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.12.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.12.0-1-common/include/linux/kconfig.h  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -I/var/lib/dkms/nvidia-legacy-340xx/340.102/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 -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 -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\"  -DMODULE  -DKBUILD_BASENAME='"nv"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/.tmp_nv.o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv.c
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-340xx/340.102/build/.nv-acpi.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.12.0-1-common/include -I./include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.12.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.12.0-1-common/include/linux/kconfig.h  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -I/var/lib/dkms/nvidia-legacy-340xx/340.102/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 -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 -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\"  -DMODULE  -DKBUILD_BASENAME='"nv_acpi"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-acpi.c
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-340xx/340.102/build/.nv-chrdev.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.12.0-1-common/include -I./include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.12.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.12.0-1-common/include/linux/kconfig.h  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -I/var/lib/dkms/nvidia-legacy-340xx/340.102/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 -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 -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\"  -DMODULE  -DKBUILD_BASENAME='"nv_chrdev"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/.tmp_nv-chrdev.o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-chrdev.c
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-340xx/340.102/build/.nv-cray.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.12.0-1-common/include -I./include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.12.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.12.0-1-common/include/linux/kconfig.h  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -I/var/lib/dkms/nvidia-legacy-340xx/340.102/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 -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 -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\"  -DMODULE  -DKBUILD_BASENAME='"nv_cray"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/.tmp_nv-cray.o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-cray.c
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-340xx/340.102/build/.nv-dma.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.12.0-1-common/include -I./include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.12.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.12.0-1-common/include/linux/kconfig.h  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -I/var/lib/dkms/nvidia-legacy-340xx/340.102/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 -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 -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\"  -DMODULE  -DKBUILD_BASENAME='"nv_dma"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/.tmp_nv-dma.o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-dma.c
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-340xx/340.102/build/.nv-drm.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.12.0-1-common/include -I./include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.12.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.12.0-1-common/include/linux/kconfig.h  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -I/var/lib/dkms/nvidia-legacy-340xx/340.102/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 -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 -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\"  -DMODULE  -DKBUILD_BASENAME='"nv_drm"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/.tmp_nv-drm.o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-drm.c
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-340xx/340.102/build/.nv-gvi.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.12.0-1-common/include -I./include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.12.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.12.0-1-common/include/linux/kconfig.h  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -I/var/lib/dkms/nvidia-legacy-340xx/340.102/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 -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 -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\"  -DMODULE  -DKBUILD_BASENAME='"nv_gvi"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/.tmp_nv-gvi.o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-gvi.c
   gcc-6 -Wp,-MD,/var/lib/dkms/nvidia-legacy-340xx/340.102/build/.nv-i2c.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.12.0-1-common/include -I./include -I/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.12.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.12.0-1-common/include/linux/kconfig.h  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -I/var/lib/dkms/nvidia-legacy-340xx/340.102/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 -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 -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG  -I/var/lib/dkms/nvidia-legacy-340xx/340.102/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\"  -DMODULE  -DKBUILD_BASENAME='"nv_i2c"'  -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/.tmp_nv-i2c.o /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-i2c.c
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv.c:13:
/usr/src/linux-headers-4.12.0-1-common/include/asm-generic/qrwlock.h: In function ?queued_write_trylock?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-cray.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/asm-generic/qrwlock.h: In function ?queued_write_trylock?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-chrdev.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/asm-generic/qrwlock.h: In function ?queued_write_trylock?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-acpi.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/asm-generic/qrwlock.h: In function ?queued_write_trylock?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-dma.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/asm-generic/qrwlock.h: In function ?queued_write_trylock?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-drm.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/asm-generic/qrwlock.h: In function ?queued_write_trylock?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-i2c.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/asm-generic/qrwlock.h: In function ?queued_write_trylock?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-gvi.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/asm-generic/qrwlock.h: In function ?queued_write_trylock?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/mmzone.h: In function ?next_zones_zonelist?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/mmzone.h: In function ?next_zones_zonelist?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/mmzone.h: In function ?next_zones_zonelist?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/mmzone.h: In function ?next_zones_zonelist?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/mmzone.h: In function ?next_zones_zonelist?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/mmzone.h: In function ?next_zones_zonelist?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:5:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv.c:13:
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_get_many?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_put_many?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/mmzone.h: In function ?next_zones_zonelist?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/mmzone.h: In function ?next_zones_zonelist?:
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:5:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-cray.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_get_many?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:5:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-chrdev.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_get_many?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:5:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-acpi.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_get_many?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_put_many?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:5:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-dma.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_get_many?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_put_many?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:5:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-drm.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_get_many?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_put_many?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_put_many?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_put_many?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:5:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-i2c.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_get_many?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:5:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-gvi.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_get_many?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ?this_cpu_add?
   this_cpu_add(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_put_many?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h: In function ?percpu_ref_put_many?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?this_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?this_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?this_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?this_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ?__pcpu_size_call?
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ?this_cpu_add?
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ?this_cpu_sub?
   this_cpu_sub(*percpu_count, nr);
   ^~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-rwsem.h: In function ?percpu_up_read_preempt_enable?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?raw_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?raw_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?raw_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?raw_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-rwsem.h: In function ?percpu_up_read_preempt_enable?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?raw_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?raw_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?raw_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-rwsem.h: In function ?percpu_up_read_preempt_enable?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?raw_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?raw_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?raw_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?raw_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?raw_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-rwsem.h: In function ?percpu_up_read_preempt_enable?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?raw_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?raw_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?raw_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?raw_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-rwsem.h: In function ?percpu_up_read_preempt_enable?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?raw_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv.c:13:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_from_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_to_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?raw_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?raw_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?raw_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-rwsem.h: In function ?percpu_up_read_preempt_enable?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?raw_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?raw_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?raw_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?raw_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-rwsem.h: In function ?percpu_up_read_preempt_enable?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-rwsem.h: In function ?percpu_up_read_preempt_enable?:
/usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?raw_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ?raw_cpu_add_1?
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?raw_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ?raw_cpu_add_2?
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?raw_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ?raw_cpu_add_4?
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?raw_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ?raw_cpu_add_8?
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ?__pcpu_size_call?
 #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                ^~~~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ?raw_cpu_add?
  raw_cpu_add(pcp, val);      \
  ^~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ?__this_cpu_add?
 #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                  ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ?__this_cpu_sub?
 #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                              ^~~~~~~~~~~~~~
/usr/src/linux-headers-4.12.0-1-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.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-cray.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_from_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_to_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-chrdev.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_from_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_to_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-acpi.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_from_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_to_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-dma.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_from_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_to_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-drm.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_from_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_to_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-gvi.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_from_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_to_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /usr/src/linux-headers-4.12.0-1-common/arch/x86/include/asm/current.h:4:0,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/sched.h:11,
                 from /usr/src/linux-headers-4.12.0-1-common/include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:44,
                 from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-i2c.c:15:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_from_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h: In function ?copy_to_user?:
/usr/src/linux-headers-4.12.0-1-common/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n)) {
                          ^
/usr/src/linux-headers-4.12.0-1-common/include/linux/compiler.h:178:40: note: in definition of macro ?likely?
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv.c:13:0:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h: At top level:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:204:2: error: #error "This driver requires the ability to change memory types!"
 #error "This driver requires the ability to change memory types!"
  ^~~~~
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-cray.c:15:0:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h: At top level:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:204:2: error: #error "This driver requires the ability to change memory types!"
 #error "This driver requires the ability to change memory types!"
  ^~~~~
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-chrdev.c:15:0:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h: At top level:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:204:2: error: #error "This driver requires the ability to change memory types!"
 #error "This driver requires the ability to change memory types!"
  ^~~~~
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-acpi.c:15:0:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h: At top level:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:204:2: error: #error "This driver requires the ability to change memory types!"
 #error "This driver requires the ability to change memory types!"
  ^~~~~
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-dma.c:15:0:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h: At top level:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:204:2: error: #error "This driver requires the ability to change memory types!"
 #error "This driver requires the ability to change memory types!"
  ^~~~~
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-drm.c:15:0:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h: At top level:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:204:2: error: #error "This driver requires the ability to change memory types!"
 #error "This driver requires the ability to change memory types!"
  ^~~~~
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-gvi.c:15:0:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h: At top level:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:204:2: error: #error "This driver requires the ability to change memory types!"
 #error "This driver requires the ability to change memory types!"
  ^~~~~
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-i2c.c:15:0:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h: At top level:
/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h:204:2: error: #error "This driver requires the ability to change memory types!"
 #error "This driver requires the ability to change memory types!"
  ^~~~~
/usr/src/linux-headers-4.12.0-1-common/scripts/Makefile.build:307: recipe for target '/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-chrdev.o' failed
make[3]: *** [/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-chrdev.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-4.12.0-1-common/scripts/Makefile.build:307: recipe for target '/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-cray.o' failed
make[3]: *** [/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-cray.o] Error 1
/usr/src/linux-headers-4.12.0-1-common/scripts/Makefile.build:307: recipe for target '/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-dma.o' failed
make[3]: *** [/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-dma.o] Error 1
/usr/src/linux-headers-4.12.0-1-common/scripts/Makefile.build:307: recipe for target '/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-gvi.o' failed
make[3]: *** [/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-gvi.o] Error 1
/usr/src/linux-headers-4.12.0-1-common/scripts/Makefile.build:307: recipe for target '/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-i2c.o' failed
make[3]: *** [/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-i2c.o] Error 1
/usr/src/linux-headers-4.12.0-1-common/scripts/Makefile.build:307: recipe for target '/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-acpi.o' failed
make[3]: *** [/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-acpi.o] Error 1
/usr/src/linux-headers-4.12.0-1-common/scripts/Makefile.build:307: recipe for target '/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-drm.o' failed
make[3]: *** [/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-drm.o] Error 1
/usr/src/linux-headers-4.12.0-1-common/scripts/Makefile.build:307: recipe for target '/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv.o' failed
make[3]: *** [/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv.o] Error 1
/usr/src/linux-headers-4.12.0-1-common/Makefile:1532: recipe for target '_module_/var/lib/dkms/nvidia-legacy-340xx/340.102/build' failed
make[2]: *** [_module_/var/lib/dkms/nvidia-legacy-340xx/340.102/build] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.12.0-1-amd64'
Makefile:152: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.12.0-1-common'
Makefile:193: recipe for target 'nvidia.ko' failed
make: *** [nvidia.ko] Error 2
make: Entering directory '/var/lib/dkms/nvidia-legacy-340xx/340.102/build/uvm'
cd ./..; make module SYSSRC=/lib/modules/4.12.0-1-amd64/source SYSOUT=/lib/modules/4.12.0-1-amd64/build KBUILD_EXTMOD=./..
make[1]: Entering directory '/var/lib/dkms/nvidia-legacy-340xx/340.102/build'
NVIDIA: calling KBUILD...
make NV_MODULE_SUFFIX= KBUILD_OUTPUT=/lib/modules/4.12.0-1-amd64/build KERNEL_SOURCES=/lib/modules/4.12.0-1-amd64/source KERNEL_OUTPUT=/lib/modules/4.12.0-1-amd64/build KBUILD_VERBOSE=1 -C /lib/modules/4.12.0-1-amd64/source SUBDIRS=/var/lib/dkms/nvidia-legacy-340xx/340.102/build ARCH=x86_64 modules
make[2]: Entering directory '/usr/src/linux-headers-4.12.0-1-common'
make -C /lib/modules/4.12.0-1-amd64/build KBUILD_SRC=/usr/src/linux-headers-4.12.0-1-common \
-f /usr/src/linux-headers-4.12.0-1-common/Makefile modules
make[3]: Entering directory '/usr/src/linux-headers-4.12.0-1-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 ./../.tmp_versions ; rm -f ./../.tmp_versions/*
make -f /usr/src/linux-headers-4.12.0-1-common/scripts/Makefile.build obj=./..
/usr/src/linux-headers-4.12.0-1-common/scripts/Makefile.build:44: /usr/src/linux-headers-4.12.0-1-common/./../Makefile: No such file or directory
make[4]: *** No rule to make target '/usr/src/linux-headers-4.12.0-1-common/./../Makefile'.  Stop.
/usr/src/linux-headers-4.12.0-1-common/Makefile:1532: recipe for target '_module_./..' failed
make[3]: *** [_module_./..] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-4.12.0-1-amd64'
Makefile:152: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.12.0-1-common'
Makefile:193: recipe for target 'nvidia.ko' failed
make[1]: *** [nvidia.ko] Error 2
make[1]: Leaving directory '/var/lib/dkms/nvidia-legacy-340xx/340.102/build'
Makefile:219: recipe for target '../Module.symvers' failed
make: *** [../Module.symvers] Error 2
make: Leaving directory '/var/lib/dkms/nvidia-legacy-340xx/340.102/build/uvm'


More information about the pkg-nvidia-devel mailing list