340.93 kernel module does not build with kernel 4.3

Hello,

the nvidia 340.93 driver does not install with kernel 4.3.

nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Tue Nov 10 12:02:33 2015
installer version: 340.93

PATH: /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/opt/kde3/bin

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses user interface
→ License accepted.
→ Installing NVIDIA driver version 340.93.
→ Running distribution scripts
executing: ‘/usr/lib/nvidia/pre-install’…
→ done.
→ The distribution-provided pre-install script completed successfully. If this is the first time you have run the installer, this script may have helped disable Nouveau, but a reboot may be required first. Would you like to continue, or would you prefer to abort installation to reboot the system? (Answer: Continue installation)
→ Performing CC sanity check with CC=“/usr/bin/cc”.
→ Kernel source path: ‘/lib/modules/4.3.0-1-default/source’
→ Kernel output path: ‘/lib/modules/4.3.0-1-default/build’
→ Performing rivafb check.
→ Performing nvidiafb check.
→ Performing Xen check.
→ Performing PREEMPT_RT check.
→ Cleaning kernel module build directory.
executing: ‘cd ./kernel; /usr/bin/make clean’…
→ Building NVIDIA kernel module:
executing: ‘cd ./kernel; /usr/bin/make module SYSSRC=/lib/modules/4.3.0-1-default/source SYSOUT=/lib/modules/4.3.0-1-default/build NV_BUILD_MODULE_INSTANCES=’…
NVIDIA: calling KBUILD…
make[1]: Verzeichnis „/usr/src/linux-4.3.0-1“ wird betreten
/usr/bin/make -C /lib/modules/4.3.0-1-default/build KBUILD_SRC=/usr/src/linux-4.3.0-1
-f /usr/src/linux-4.3.0-1/Makefile modules
make[2]: Verzeichnis „/usr/src/linux-4.3.0-1-obj/x86_64/default“ wird betreten
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/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/.tmp_versions ; rm -f /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/.tmp_versions/*
/usr/bin/make -f /usr/src/linux-4.3.0-1/scripts/Makefile.build obj=/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel
cc -Wp,-MD,/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/.nv.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/5/include -I/usr/src/linux-4.3.0-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.3.0-1/include -Iinclude -I/usr/src/linux-4.3.0-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.3.0-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.3.0-1/include/linux/kconfig.h -I/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel -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_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pi
pe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.93" -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 /tmp/s
elfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/.tmp_nv.o /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv.c
In file included from /usr/src/linux-4.3.0-1/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-4.3.0-1/include/linux/stddef.h:4,
from /usr/src/linux-4.3.0-1/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-4.3.0-1/include/uapi/linux/types.h:13,
from /usr/src/linux-4.3.0-1/include/linux/types.h:5,
from /usr/src/linux-4.3.0-1/include/uapi/linux/capability.h:16,
from /usr/src/linux-4.3.0-1/include/linux/capability.h:15,
from /usr/src/linux-4.3.0-1/include/linux/sched.h:15,
from /usr/src/linux-4.3.0-1/include/linux/utsname.h:5,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-linux.h:44,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv.c:13:
/usr/src/linux-4.3.0-1/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-4.3.0-1/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-4.3.0-1/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from /usr/src/linux-4.3.0-1/arch/x86/include/asm/preempt.h:5:0,
from /usr/src/linux-4.3.0-1/include/linux/preempt.h:64,
from /usr/src/linux-4.3.0-1/include/linux/spinlock.h:50,
from /usr/src/linux-4.3.0-1/include/linux/seqlock.h:35,
from /usr/src/linux-4.3.0-1/include/linux/time.h:5,
from /usr/src/linux-4.3.0-1/include/uapi/linux/timex.h:56,
from /usr/src/linux-4.3.0-1/include/linux/timex.h:56,
from /usr/src/linux-4.3.0-1/include/linux/sched.h:19,
from /usr/src/linux-4.3.0-1/include/linux/utsname.h:5,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-linux.h:44,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv.c:13:
/usr/src/linux-4.3.0-1/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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-4.3.0-1/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-4.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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-4.3.0-1/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-4.3.0-1/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.3.0-1/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.3.0-1/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-4.3.0-1/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-4.3.0-1/include/linux/stddef.h:4,
from /usr/src/linux-4.3.0-1/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-4.3.0-1/include/uapi/linux/types.h:13,
from /usr/src/linux-4.3.0-1/include/linux/types.h:5,
from /usr/src/linux-4.3.0-1/include/uapi/linux/capability.h:16,
from /usr/src/linux-4.3.0-1/include/linux/capability.h:15,
from /usr/src/linux-4.3.0-1/include/linux/sched.h:15,
from /usr/src/linux-4.3.0-1/include/linux/utsname.h:5,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-linux.h:44,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv.c:13:
/usr/src/linux-4.3.0-1/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-4.3.0-1/arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-4.3.0-1/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
/usr/src/linux-4.3.0-1/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-4.3.0-1/arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-4.3.0-1/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
if [ “-pg” = “-pg” ]; then if [ /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv.o != “scripts/mod/empty.o” ]; then ./scripts/recordmcount “/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv.o”; fi; fi;
cc -Wp,-MD,/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/5/include -I/usr/src/linux-4.3.0-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.3.0-1/include -Iinclude -I/usr/src/linux-4.3.0-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.3.0-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.3.0-1/include/linux/kconfig.h -I/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel -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_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-ra
ces=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
-DMODULE -DNVRM -DNV_VERSION_STRING="340.93" -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 /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/.tmp_nv-acpi.o /tmp/selfgz4540/NVID
IA-Linux-x86_64-340.93/kernel/nv-acpi.c
In file included from /usr/src/linux-4.3.0-1/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-4.3.0-1/include/linux/stddef.h:4,
from /usr/src/linux-4.3.0-1/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-4.3.0-1/include/uapi/linux/types.h:13,
from /usr/src/linux-4.3.0-1/include/linux/types.h:5,
from /usr/src/linux-4.3.0-1/include/uapi/linux/capability.h:16,
from /usr/src/linux-4.3.0-1/include/linux/capability.h:15,
from /usr/src/linux-4.3.0-1/include/linux/sched.h:15,
from /usr/src/linux-4.3.0-1/include/linux/utsname.h:5,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-linux.h:44,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-acpi.c:15:
/usr/src/linux-4.3.0-1/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-4.3.0-1/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-4.3.0-1/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from /usr/src/linux-4.3.0-1/arch/x86/include/asm/preempt.h:5:0,
from /usr/src/linux-4.3.0-1/include/linux/preempt.h:64,
from /usr/src/linux-4.3.0-1/include/linux/spinlock.h:50,
from /usr/src/linux-4.3.0-1/include/linux/seqlock.h:35,
from /usr/src/linux-4.3.0-1/include/linux/time.h:5,
from /usr/src/linux-4.3.0-1/include/uapi/linux/timex.h:56,
from /usr/src/linux-4.3.0-1/include/linux/timex.h:56,
from /usr/src/linux-4.3.0-1/include/linux/sched.h:19,
from /usr/src/linux-4.3.0-1/include/linux/utsname.h:5,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-linux.h:44,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-acpi.c:15:
/usr/src/linux-4.3.0-1/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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-4.3.0-1/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-4.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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-4.3.0-1/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-4.3.0-1/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.3.0-1/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.3.0-1/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-4.3.0-1/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-4.3.0-1/include/linux/stddef.h:4,
from /usr/src/linux-4.3.0-1/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-4.3.0-1/include/uapi/linux/types.h:13,
from /usr/src/linux-4.3.0-1/include/linux/types.h:5,
from /usr/src/linux-4.3.0-1/include/uapi/linux/capability.h:16,
from /usr/src/linux-4.3.0-1/include/linux/capability.h:15,
from /usr/src/linux-4.3.0-1/include/linux/sched.h:15,
from /usr/src/linux-4.3.0-1/include/linux/utsname.h:5,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-linux.h:44,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-acpi.c:15:
/usr/src/linux-4.3.0-1/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-4.3.0-1/arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-4.3.0-1/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
/usr/src/linux-4.3.0-1/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-4.3.0-1/arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-4.3.0-1/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
if [ “-pg” = “-pg” ]; then if [ /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-acpi.o != “scripts/mod/empty.o” ]; then ./scripts/recordmcount “/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-acpi.o”; fi; fi;
cc -Wp,-MD,/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/5/include -I/usr/src/linux-4.3.0-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.3.0-1/include -Iinclude -I/usr/src/linux-4.3.0-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.3.0-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.3.0-1/include/linux/kconfig.h -I/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel -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_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-pro
tector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
-DMODULE -DNVRM -DNV_VERSION_STRING="340.93" -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 /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/.tmp_nv-chrdev.o /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-chrde
v.c
In file included from /usr/src/linux-4.3.0-1/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-4.3.0-1/include/linux/stddef.h:4,
from /usr/src/linux-4.3.0-1/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-4.3.0-1/include/uapi/linux/types.h:13,
from /usr/src/linux-4.3.0-1/include/linux/types.h:5,
from /usr/src/linux-4.3.0-1/include/uapi/linux/capability.h:16,
from /usr/src/linux-4.3.0-1/include/linux/capability.h:15,
from /usr/src/linux-4.3.0-1/include/linux/sched.h:15,
from /usr/src/linux-4.3.0-1/include/linux/utsname.h:5,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-linux.h:44,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-chrdev.c:15:
/usr/src/linux-4.3.0-1/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-4.3.0-1/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-4.3.0-1/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from /usr/src/linux-4.3.0-1/arch/x86/include/asm/preempt.h:5:0,
from /usr/src/linux-4.3.0-1/include/linux/preempt.h:64,
from /usr/src/linux-4.3.0-1/include/linux/spinlock.h:50,
from /usr/src/linux-4.3.0-1/include/linux/seqlock.h:35,
from /usr/src/linux-4.3.0-1/include/linux/time.h:5,
from /usr/src/linux-4.3.0-1/include/uapi/linux/timex.h:56,
from /usr/src/linux-4.3.0-1/include/linux/timex.h:56,
from /usr/src/linux-4.3.0-1/include/linux/sched.h:19,
from /usr/src/linux-4.3.0-1/include/linux/utsname.h:5,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-linux.h:44,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-chrdev.c:15:
/usr/src/linux-4.3.0-1/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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-4.3.0-1/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-4.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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-4.3.0-1/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-4.3.0-1/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.3.0-1/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.3.0-1/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-4.3.0-1/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-4.3.0-1/include/linux/stddef.h:4,
from /usr/src/linux-4.3.0-1/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-4.3.0-1/include/uapi/linux/types.h:13,
from /usr/src/linux-4.3.0-1/include/linux/types.h:5,
from /usr/src/linux-4.3.0-1/include/uapi/linux/capability.h:16,
from /usr/src/linux-4.3.0-1/include/linux/capability.h:15,
from /usr/src/linux-4.3.0-1/include/linux/sched.h:15,
from /usr/src/linux-4.3.0-1/include/linux/utsname.h:5,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-linux.h:44,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-chrdev.c:15:
/usr/src/linux-4.3.0-1/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-4.3.0-1/arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-4.3.0-1/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
/usr/src/linux-4.3.0-1/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-4.3.0-1/arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-4.3.0-1/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
if [ “-pg” = “-pg” ]; then if [ /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-chrdev.o != “scripts/mod/empty.o” ]; then ./scripts/recordmcount “/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-chrdev.o”; fi; fi;
cc -Wp,-MD,/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/5/include -I/usr/src/linux-4.3.0-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src
/linux-4.3.0-1/include -Iinclude -I/usr/src/linux-4.3.0-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.3.0-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.3.0-1/include/linux/kconfig.h -I/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel -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_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-v
ariable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
-DMODULE -DNVRM -DNV_VERSION_STRING="340.93" -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 /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/.tmp_nv-cray.o /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-cray.c
In file included from /usr/src/linux-4.3.0-1/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-4.3.0-1/include/linux/stddef.h:4,
from /usr/src/linux-4.3.0-1/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-4.3.0-1/include/uapi/linux/types.h:13,
from /usr/src/linux-4.3.0-1/include/linux/types.h:5,
from /usr/src/linux-4.3.0-1/include/uapi/linux/capability.h:16,
from /usr/src/linux-4.3.0-1/include/linux/capability.h:15,
from /usr/src/linux-4.3.0-1/include/linux/sched.h:15,
from /usr/src/linux-4.3.0-1/include/linux/utsname.h:5,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-linux.h:44,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-cray.c:15:
/usr/src/linux-4.3.0-1/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-4.3.0-1/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-4.3.0-1/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from /usr/src/linux-4.3.0-1/arch/x86/include/asm/preempt.h:5:0,
from /usr/src/linux-4.3.0-1/include/linux/preempt.h:64,
from /usr/src/linux-4.3.0-1/include/linux/spinlock.h:50,
from /usr/src/linux-4.3.0-1/include/linux/seqlock.h:35,
from /usr/src/linux-4.3.0-1/include/linux/time.h:5,
from /usr/src/linux-4.3.0-1/include/uapi/linux/timex.h:56,
from /usr/src/linux-4.3.0-1/include/linux/timex.h:56,
from /usr/src/linux-4.3.0-1/include/linux/sched.h:19,
from /usr/src/linux-4.3.0-1/include/linux/utsname.h:5,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-linux.h:44,
from /tmp/selfgz4540/NVIDIA-Linux-x86_64-340.93/kernel/nv-cray.c:15:
/usr/src/linux-4.3.0-1/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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-4.3.0-1/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-4.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/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.3.0-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.3.0-1/arch/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.3.0-1/arch/x86/include/asm/percpu.h:47

echo “–apply-patch [Patch]”
echo " Apply the patch ‘Patch’ to the kernel interface files included"
echo " in the .run file, remove any precompiled kernel interfaces"
echo " and then repackage the .run file. The new .run file will be"
echo " placed in the current directory and the string "-custom""
echo " appended to its name, unless already present, to distinguish it"
echo " from the original .run file."

patch → https://projects.archlinux.org/svntogit/packages.git/plain/trunk/nvidia-4.3-build.patch?h=packages/nvidia-340xx

$ NVIDIA-Linux-x86_64-340.93.run --apply-patch [Patch]

OK. that worked.

Thank you