Cannot install NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.96 Linux 6.4

I cannot install the drivers for my GTS250 im running Linux 6.4

I have tried many things for example:

https://devtalk.nvidia.com/default/topic/939385/linux/340-96-x86-does-not-compile-w-kernel-4-6-0-1-suse-tumbleweed/

https://devtalk.nvidia.com/default/topic/936310/nvidia-drivers-do-not-install-with-kernel-4-6/

Ive also tried this:

apt-get install -y linux-headers-$(uname -r)
apt-get install nvidia-kernel-dkms

then did

apt-get remove nvidai* --purge

and tried installing the driver still not woring.


Here is the driver download:

http://www.nvidia.com/download/driverResults.aspx/95165/en-us


Here are the errors hope it helps

DKMS make.log for nvidia-340.96 for kernel 4.6.0-kali1-amd64 (x86_64)
Mon Jul 11 06:08:33 PDT 2016
NVIDIA: calling KBUILD…
make[1]: Entering directory ‘/usr/src/linux-headers-4.6.0-kali1-common’
make -C /lib/modules/4.6.0-kali1-amd64/build KBUILD_SRC=/usr/src/linux-headers-4.6.0-kali1-common
-f /usr/src/linux-headers-4.6.0-kali1-common/Makefile modules
make[2]: Entering directory ‘/usr/src/linux-headers-4.6.0-kali1-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/340.96/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia/340.96/build/.tmp_versions/*
make -f /usr/src/linux-headers-4.6.0-kali1-common/scripts/Makefile.build obj=/var/lib/dkms/nvidia/340.96/build
(cat /dev/null; echo kernel//var/lib/dkms/nvidia/340.96/build/nvidia.ko;) > /var/lib/dkms/nvidia/340.96/build/modules.order
cc -Wp,-MD,/var/lib/dkms/nvidia/340.96/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-headers-4.6.0-kali1-common/include -Iinclude -I/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-4.6.0-kali1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-4.6.0-kali1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia/340.96/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-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 -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/340.96/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“340.96” -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=“nvidia” -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/340.96/build/.tmp_nv.o /var/lib/dkms/nvidia/340.96/build/nv.c
cc -Wp,-MD,/var/lib/dkms/nvidia/340.96/build/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-headers-4.6.0-kali1-common/include -Iinclude -I/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-4.6.0-kali1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-4.6.0-kali1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia/340.96/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-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 -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/340.96/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“340.96” -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=“nvidia” -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/340.96/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia/340.96/build/nv-acpi.c
cc -Wp,-MD,/var/lib/dkms/nvidia/340.96/build/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-headers-4.6.0-kali1-common/include -Iinclude -I/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-4.6.0-kali1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-4.6.0-kali1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia/340.96/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-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 -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/340.96/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“340.96” -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=“nvidia” -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/340.96/build/.tmp_nv-chrdev.o /var/lib/dkms/nvidia/340.96/build/nv-chrdev.c
cc -Wp,-MD,/var/lib/dkms/nvidia/340.96/build/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-headers-4.6.0-kali1-common/include -Iinclude -I/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-4.6.0-kali1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-4.6.0-kali1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia/340.96/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-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 -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/340.96/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“340.96” -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=“nvidia” -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/340.96/build/.tmp_nv-cray.o /var/lib/dkms/nvidia/340.96/build/nv-cray.c
In file included from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/types.h:5,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/340.96/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.96/build/nv.c:13:
/usr/src/linux-headers-4.6.0-kali1-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.6.0-kali1-common/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/linux-headers-4.6.0-kali1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

In file included from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/types.h:5,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/340.96/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.96/build/nv-acpi.c:15:
/usr/src/linux-headers-4.6.0-kali1-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.6.0-kali1-common/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/linux-headers-4.6.0-kali1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

In file included from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/types.h:5,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/340.96/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.96/build/nv-chrdev.c:15:
/usr/src/linux-headers-4.6.0-kali1-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.6.0-kali1-common/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/linux-headers-4.6.0-kali1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

In file included from /usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/preempt.h:5:0,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/preempt.h:59,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/time.h:5,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/sched.h:19,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/340.96/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.96/build/nv-acpi.c:15:
/usr/src/linux-headers-4.6.0-kali1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
In file included from /usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/preempt.h:5:0,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/preempt.h:59,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/time.h:5,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/sched.h:19,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/340.96/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.96/build/nv.c:13:
/usr/src/linux-headers-4.6.0-kali1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
In file included from /usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/preempt.h:5:0,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/preempt.h:59,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/time.h:5,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/sched.h:19,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/340.96/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.96/build/nv-chrdev.c:15:
/usr/src/linux-headers-4.6.0-kali1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
In file included from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/types.h:5,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/340.96/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.96/build/nv-cray.c:15:
/usr/src/linux-headers-4.6.0-kali1-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-headers-4.6.0-kali1-common/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/linux-headers-4.6.0-kali1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

In file included from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/types.h:5,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/340.96/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.96/build/nv-acpi.c:15:
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-headers-4.6.0-kali1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-headers-4.6.0-kali1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

In file included from /usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/preempt.h:5:0,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/preempt.h:59,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/time.h:5,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/sched.h:19,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/340.96/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.96/build/nv-cray.c:15:
/usr/src/linux-headers-4.6.0-kali1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-headers-4.6.0-kali1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-headers-4.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-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.6.0-kali1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
In file included from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/types.h:5,
from /usr/src/linux-headers-4.6.0-kali1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-4.6.0-kali1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/340.96/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/340.96/build/nv-chrdev.c:15:
/usr/src/linux-headers-4.6.0-kali1-common/arch/