Unable to build driver 304.135 with kernel 4.11.3

What do I do? Any patches available? Here’s nvidia-installer log’s contents:

nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Sat Jun 3 22:34:28 2017
installer version: 304.135

PATH: /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/usr/lib/kde4/libexec:/usr/lib/qt/bin:/usr/share/texmf/bin

nvidia-installer command line:
./nvidia-installer

Unable to load: nvidia-installer ncurses v6 user interface

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 304.135.
-> There appears to already be a driver installed on your system (version: 304.134). As part of installing this driver (version: 304.135), the existing driver will be uninstalled. Are you sure you want to continue? (‘no’ will abort installation) (Answer: Yes)
-> Performing CC sanity check with CC=“cc”.
-> Performing CC version check with CC=“cc”.
-> Kernel source path: ‘/lib/modules/4.11.3-K7/source’
-> Kernel output path: ‘/lib/modules/4.11.3-K7/build’
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: ‘cd ./kernel; make clean’…
-> Building kernel module:
executing: ‘cd ./kernel; make module SYSSRC=/lib/modules/4.11.3-K7/source SYSOUT=/lib/modules/4.11.3-K7/build’…
NVIDIA: calling KBUILD…
make -C /lib/modules/4.11.3-K7/build KBUILD_SRC=/usr/src/linux-4.11.3
-f /usr/src/linux-4.11.3/Makefile modules
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/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/.tmp_versions ; rm -f /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/.tmp_versions/*
make -f /usr/src/linux-4.11.3/scripts/Makefile.build obj=/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel
cc -Wp,-MD,/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i586-slackware-linux/5.3.0/include -I/usr/src/linux-4.11.3/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.11.3/includ
e -I./include -I/usr/src/linux-4.11.3/arch/x86/include/uapi -I/usr/src/linux-4.11.3/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.11.3/include/linux/kconfig.h -I/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel -I/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel -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 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=athlon -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=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 -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -DCC_HAVE_ASM_
GOTO -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -I/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“304.135” -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME=’“nv”’ -DKBUILD_MODNAME=’“nvidia”’ -c -o /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv.o /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv.c
In file included from /usr/src/linux-4.11.3/arch/x86/include/asm/current.h:4:0,
from /usr/src/linux-4.11.3/include/linux/sched.h:11,
from /usr/src/linux-4.11.3/include/linux/utsname.h:5,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-linux.h:40,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv.c:13:
/usr/src/linux-4.11.3/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-4.11.3/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-4.11.3/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/linux-4.11.3/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-4.11.3/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
/usr/src/linux-4.11.3/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-4.11.3/arch/x86/include/asm/current.h:5:0,
from /usr/src/linux-4.11.3/include/linux/sched.h:11,
from /usr/src/linux-4.11.3/include/linux/utsname.h:5,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-linux.h:40,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv.c:13:
/usr/src/linux-4.11.3/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.11.3/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.11.3/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val);
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val);
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val);
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/arch/x86/include/asm/current.h:4:0,
from /usr/src/linux-4.11.3/include/linux/sched.h:11,
from /usr/src/linux-4.11.3/include/linux/utsname.h:5,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-linux.h:40,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv.c:13:
/usr/src/linux-4.11.3/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-4.11.3/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
^
/usr/src/linux-4.11.3/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
/usr/src/linux-4.11.3/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-4.11.3/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
^
/usr/src/linux-4.11.3/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
cc -Wp,-MD,/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/i586-slackware-linux/5.3.0/include -I/usr/src/linux-4.11.3/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.11.3/include -I./include -I/usr/src/linux-4.11.3/arch/x86/include/uapi -I/usr/src/linux-4.11.3/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.11.3/include/linux/kconfig.h -I/tmp/selfgz4837/NV
IDIA-Linux-x86-304.135/kernel -I/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel -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 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=athlon -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=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 -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fc
onserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -I/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
-DMODULE -DNVRM -DNV_VERSION_STRING=“304.135” -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME=’“nv_acpi”’ -DKBUILD_MODNAME=’“nvidia”’ -c -o /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-acpi.o /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-acpi.c
In file included from /usr/src/linux-4.11.3/arch/x86/include/asm/current.h:4:0,
from /usr/src/linux-4.11.3/include/linux/sched.h:11,
from /usr/src/linux-4.11.3/include/linux/utsname.h:5,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-linux.h:40,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-acpi.c:15:
/usr/src/linux-4.11.3/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-4.11.3/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-4.11.3/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/linux-4.11.3/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-4.11.3/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
/usr/src/linux-4.11.3/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-4.11.3/arch/x86/include/asm/current.h:5:0,
from /usr/src/linux-4.11.3/include/linux/sched.h:11,
from /usr/src/linux-4.11.3/include/linux/utsname.h:5,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-linux.h:40,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-acpi.c:15:
/usr/src/linux-4.11.3/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.11.3/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.11.3/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val);
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val);
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val);
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/arch/x86/include/asm/current.h:4:0,
from /usr/src/linux-4.11.3/include/linux/sched.h:11,
from /usr/src/linux-4.11.3/include/linux/utsname.h:5,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-linux.h:40,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-acpi.c:15:
/usr/src/linux-4.11.3/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-4.11.3/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
^
/usr/src/linux-4.11.3/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
/usr/src/linux-4.11.3/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-4.11.3/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
^
/usr/src/linux-4.11.3/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
cc -Wp,-MD,/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/i586-slackware-linux/5.3.0/include -I/usr/src/linux-4.11.3/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.11.3/include -I./include -I/usr/src/linux-4.11.3/arch/x86/include/uapi -I/usr/src/linux-4.11.3/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.11.3/include/linux/kconfig.h -I/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel -I/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel -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 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=athlon -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=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 -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -I/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel -Wa
ll -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
-DMODULE -DNVRM -DNV_VERSION_STRING=“304.135” -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME=’“nv_chrdev”’ -DKBUILD_MODNAME=’“nvidia”’ -c -o /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-chrdev.o /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-chrdev.c
In file included from /usr/src/linux-4.11.3/arch/x86/include/asm/current.h:4:0,
from /usr/src/linux-4.11.3/include/linux/sched.h:11,
from /usr/src/linux-4.11.3/include/linux/utsname.h:5,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-linux.h:40,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-chrdev.c:15:
/usr/src/linux-4.11.3/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-4.11.3/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-4.11.3/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/linux-4.11.3/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-4.11.3/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
/usr/src/linux-4.11.3/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-4.11.3/arch/x86/include/asm/current.h:5:0,
from /usr/src/linux-4.11.3/include/linux/sched.h:11,
from /usr/src/linux-4.11.3/include/linux/utsname.h:5,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-linux.h:40,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-chrdev.c:15:
/usr/src/linux-4.11.3/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.11.3/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.11.3/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val);
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val);
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val);
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/arch/x86/include/asm/current.h:4:0,
from /usr/src/linux-4.11.3/include/linux/sched.h:11,
from /usr/src/linux-4.11.3/include/linux/utsname.h:5,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-linux.h:40,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-chrdev.c:15:
/usr/src/linux-4.11.3/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-4.11.3/arch/x86/include/asm/uaccess.h:700:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
^
/usr/src/linux-4.11.3/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
/usr/src/linux-4.11.3/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-4.11.3/arch/x86/include/asm/uaccess.h:720:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
^
/usr/src/linux-4.11.3/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
cc -Wp,-MD,/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/i586-slackware-linux/5.3.0/include -I/usr/src/linux-4.11.3/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.11.3/include -I./include -I/usr/src/linux-4.11.3/arch/x86/include/uapi -I/usr/src/linux-4.11.3/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.11.3/include/linux/kconfig.h -I/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel -I/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel -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 -m32 -msoft-float -mregp
arm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=athlon -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=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 -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -I/tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
-DMODULE -DNVRM -DNV_VERSION_STRING=“304.135” -Wno-unused-function -Wuninitialized -UDEBUG -U_D
EBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME=’“nv_cray”’ -DKBUILD_MODNAME=’“nvidia”’ -c -o /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-cray.o /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-cray.c
In file included from /usr/src/linux-4.11.3/arch/x86/include/asm/current.h:4:0,
from /usr/src/linux-4.11.3/include/linux/sched.h:11,
from /usr/src/linux-4.11.3/include/linux/utsname.h:5,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-linux.h:40,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-cray.c:15:
/usr/src/linux-4.11.3/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-4.11.3/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-4.11.3/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/linux-4.11.3/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-4.11.3/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
/usr/src/linux-4.11.3/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-4.11.3/arch/x86/include/asm/current.h:5:0,
from /usr/src/linux-4.11.3/include/linux/sched.h:11,
from /usr/src/linux-4.11.3/include/linux/utsname.h:5,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-linux.h:40,
from /tmp/selfgz4837/NVIDIA-Linux-x86-304.135/kernel/nv-cray.c:15:
/usr/src/linux-4.11.3/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.11.3/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.11.3/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-4.11.3/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ?
^
/usr/src/linux-4.11.3/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-4.11.3/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-4.11.3/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size