Fedora 22 install failure at kernel build error

Running new fedora 22 on kernel 4.0.4-301 x86-64. Trying to install from the .run file for legacy 340 graphics. Card is a Geforce GTX260. CPU is FX-6300 amd on gigabyte motherboard.

Attached is log.

[code]nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Tue May 26 23:36:20 2015
installer version: 340.76

PATH: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses user interface
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> License accepted.
-> Installing NVIDIA driver version 340.76.
-> Performing CC sanity check with CC="/bin/cc".
-> Kernel source path: ‘/lib/modules/4.0.4-301.fc22.x86_64/source’
-> Kernel output path: ‘/lib/modules/4.0.4-301.fc22.x86_64/build’
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Cleaning kernel module build directory.
executing: ‘cd ./kernel; /bin/make clean’…
-> Building NVIDIA kernel module:
executing: ‘cd ./kernel; /bin/make module SYSSRC=/lib/modules/4.0.4-301.fc22.x86_64/source SYSOUT=/lib/modules/4.0.4-301.fc22.x86_64/build NV_BUILD_MODULE_INSTANCES=’…
NVIDIA: calling KBUILD…
make[1]: Entering directory ‘/usr/src/kernels/4.0.4-301.fc22.x86_64’
/bin/make -C /lib/modules/4.0.4-301.fc22.x86_64/build KBUILD_SRC=/usr/src/kernels/4.0.4-301.fc22.x86_64
-f /usr/src/kernels/4.0.4-301.fc22.x86_64/Makefile modules
make[2]: Entering directory ‘/usr/src/kernels/4.0.4-301.fc22.x86_64’
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/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/.tmp_versions ; rm -f /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/.tmp_versions/*
/bin/make -f /usr/src/kernels/4.0.4-301.fc22.x86_64/scripts/Makefile.build obj=/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel
cc -Wp,-MD,/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/5.1.1/include -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include -Iinclude -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/kconfig.h -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=
1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“340.76” -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(nvidi
a)" -c -o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv.o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv.c
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv.c:13:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv.c:13:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
if [ “-pg” = “-pg” ]; then if [ /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv.o != “scripts/mod/empty.o” ]; then ./scripts/recordmcount “/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv.o”; fi; fi;
cc -Wp,-MD,/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/5.1.1/include -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include -Iinclude -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/kconfig.h -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -D__KERNEL
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -
fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
-DMODULE -DNVRM -DNV_VERSION_STRING=“340.76” -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/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-acpi.o /tmp/selfgz1455/NVIDIA-Linux-x86
_64-340.76/kernel/nv-acpi.c
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-acpi.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-acpi.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
if [ “-pg” = “-pg” ]; then if [ /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-acpi.o != “scripts/mod/empty.o” ]; then ./scripts/recordmcount “/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-acpi.o”; fi; fi;
cc -Wp,-MD,/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/5.1.1/include -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include -Iinclude -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/kconfig.h -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -D__KERNEL
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -W
frame-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
-DMODULE -DNVRM -DNV_VERSION_STRING=“340.76” -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/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-chrdev.o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-chrdev.c
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-chrdev.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-chrdev.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
if [ “-pg” = “-pg” ]; then if [ /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-chrdev.o != “scripts/mod/empty.o” ]; then ./scripts/recordmcount “/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-chrdev.o”; fi; fi;
cc -Wp,-MD,/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/5.1.1/include -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/kernels/4.0.4-301.fc22.
x86_64/include -Iinclude -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/kconfig.h -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -D__KERNEL
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unuse
d-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
-DMODULE -DNVRM -DNV_VERSION_STRING=“340.76” -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/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-cray.o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-cray.c
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-cray.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-cray.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
if [ “-pg” = “-pg” ]; then if [ /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-cray.o != “scripts/mod/empty.o” ]; then ./scripts/recordmcount “/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-cray.o”; fi; fi;
cc -Wp,-MD,/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/5.1.1/include -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include -Iinclude -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x8
6/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/kconfig.h -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -D__KERNEL
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -f
var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
-DMODULE -DNVRM -DNV_VERSION_STRING=“340.76” -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_dma)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-dma.o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-dma.c
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-dma.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-dma.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
if [ “-pg” = “-pg” ]; then if [ /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-dma.o != “scripts/mod/empty.o” ]; then ./scripts/recordmcount “/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-dma.o”; fi; fi;
cc -Wp,-MD,/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/5.1.1/include -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include -Iinclude -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/4.0.4-301.fc
22.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/kconfig.h -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -D__KERNEL
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-s
tatement -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/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
-DMODULE -DNVRM -DNV_VERSION_STRING=“340.76” -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_drm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-drm.o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-drm.c
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-drm.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-drm.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
if [ “-pg” = “-pg” ]; then if [ /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-drm.o != “scripts/mod/empty.o” ]; then ./scripts/recordmcount “/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-drm.o”; fi; fi;
cc -Wp,-MD,/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/5.1.1/include -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include -Iinclude -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/4.0.4-
301.fc22.x86_64/include/linux/kconfig.h -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -D__KERNEL
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implici
t-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/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
-DMODULE -DNVRM -DNV_VERSION_STRING=“340.76” -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_gvi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-gvi.o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-gvi.c
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-gvi.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) _builtin_expect(!!(x), 1)
^
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-gvi.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
if [ “-pg” = “-pg” ]; then if [ /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-gvi.o != “scripts/mod/empty.o” ]; then ./scripts/recordmcount “/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-gvi.o”; fi; fi;
cc -Wp,-MD,/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/5.1.1/include -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include -Iinclude -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/kconfig.h -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-
340.76/kernel -D__KERNEL
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE
INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
-DMODULE -DNVRM -DNV_VERSION_STRING=“340.76” -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_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-i2c.o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-i2c.c
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-i2c.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-i2c.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
if [ “-pg” = “-pg” ]; then if [ /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-i2c.o != “scripts/mod/empty.o” ]; then ./scripts/recordmcount “/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-i2c.o”; fi; fi;
cc -Wp,-MD,/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/5.1.1/include -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include -Iinclude -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/kconfig.h -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -D__KERNEL
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp
/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
-DMODULE -DNVRM -DNV_VERSION_STRING=“340.76” -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_mempool)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-mempool.o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-mempool.c
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-mempool.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-mempool.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) builtin_expect(!!(x), 1)
^
if [ “-pg” = “-pg” ]; then if [ /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-mempool.o != “scripts/mod/empty.o” ]; then ./scripts/recordmcount “/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-mempool.o”; fi; fi;
cc -Wp,-MD,/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/5.1.1/include -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include -Iinclude -I/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/kconfig.h -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -D__KERNEL
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-f
unction-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel -Wall
-MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
-DMODULE -DNVRM -DNV_VERSION_STRING=“340.76” -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_mmap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-mmap.o /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-mmap.c
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-mmap.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/stddef.h:1:0,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/stddef.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/posix_types.h:4,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/types.h:13,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/types.h:5,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/uapi/linux/capability.h:16,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/capability.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/sched.h:15,
from /usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/utsname.h:5,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-linux.h:44,
from /tmp/selfgz1455/NVIDIA-Linux-x86_64-340.76/kernel/nv-mmap.c:15:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/kernels/4.0.4-301.fc22.x86_64/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/kernels/4.0.4-301.fc22.x86_64/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’

nvidia-installer.log (76.2 KB)

Fetch patches from here and use them:

http://cvs.rpmfusion.org/viewvc/rpms/nvidia-304xx-kmod/devel/?root=nonfree

Thanks. I found the one for 340
http://cvs.rpmfusion.org/viewvc/rpms/nvidia-340xx-kmod/devel/?root=nonfree

Hi,

Can please help to provide a step-by-step howto to use the patch/spec/Makefile from http://cvs.rpmfusion.org/viewvc/rpms/nvidia-340xx-kmod/devel/?root=nonfree ?

Thanks in advance.

Install rpmfusion repo, install nvidia drivers from there. You’re done.

I have exactly the same issue.
It seems to be related to kernel build issue, see the error in the log file:

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."; \

Additionally, I run the commands ‘make oldconfig && make prepare’ and the first one complete successfully, but the second exits with error.

I have to mention that the same NVIDIA-Linux-x86_64-340.76.run legacy driver was compiling and worked just fantastic on older Fedora 17 on same machine, I just needed to upgrade and now am stuck with this issue.

Any advice is welcome.

After unsuccessful building nvidia module using the NVIDIA-Linux-x86_64-340.76.run legacy driver I tried to install from fusion repo and it worked :)

dnf --enablerepo=rpmfusion-nonfree-rawhide install akmod-nvidia-340xx.x86_64

reboot