SHARE
TWEET

nvidia kernel 4.0.0 fail 2

milomak May 2nd, 2015 (edited) 271 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DKMS make.log for nvidia-current-340.76 for kernel 4.0.0 (x86_64)
  2. Sat May  2 16:07:02 SAST 2015
  3. make: Entering directory '/var/lib/dkms/nvidia-current/340.76/build'
  4. make KBUILD_VERBOSE=1 -C /lib/modules/4.0.0/build M=/var/lib/dkms/nvidia-current/340.76/build modules
  5. make[1]: Entering directory '/data/ext/kernel/debian/linux-4.0'
  6. test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
  7. echo >&2;                                                       \
  8. echo >&2 "  ERROR: Kernel configuration is invalid.";           \
  9. echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
  10. echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
  11. echo >&2 ;                                                      \
  12. /bin/false)
  13. mkdir -p /var/lib/dkms/nvidia-current/340.76/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-current/340.76/build/.tmp_versions/*
  14. make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia-current/340.76/build
  15. /bin/sh /var/lib/dkms/nvidia-current/340.76/build/conftest.sh "gcc" "gcc" x86 /lib/modules/4.0.0/build /lib/modules/4.0.0/build compile_tests remap_pfn_range vmap set_pages_uc set_memory_uc set_memory_array_uc change_page_attr i2c_adapter pci_get_class pm_message_t irq_handler_t pci_choose_state vm_insert_page acpi_device_ops acpi_op_remove acpi_device_id acquire_console_sem console_lock kmem_cache_create outer_flush_all on_each_cpu smp_call_function nvmap_support acpi_evaluate_integer ioremap_cache ioremap_wc proc_dir_entry INIT_WORK acpi_walk_namespace scatterlist pci_domain_nr pci_dma_mapping_error file_operations sg_alloc_table sg_init_table pci_get_domain_bus_and_slot get_num_physpages efi_enabled dom0_kernel_present drm_available proc_create_data pde_data proc_remove sg_table pm_vt_switch_required pci_save_state file_inode drm_pci_set_busid
  16.   gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -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 -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -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(nvidia)" -c -o /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv.o /var/lib/dkms/nvidia-current/340.76/build/nv.c
  17. In file included from include/uapi/linux/stddef.h:1:0,
  18.                  from include/linux/stddef.h:4,
  19.                  from ./include/uapi/linux/posix_types.h:4,
  20.                  from include/uapi/linux/types.h:13,
  21.                  from include/linux/types.h:5,
  22.                  from include/uapi/linux/capability.h:16,
  23.                  from include/linux/capability.h:15,
  24.                  from include/linux/sched.h:15,
  25.                  from include/linux/utsname.h:5,
  26.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  27.                  from /var/lib/dkms/nvidia-current/340.76/build/nv.c:13:
  28. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  29. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  30.           cnts, cnts | _QW_LOCKED) == cnts);
  31.                                    ^
  32. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  33.  # define likely(x) __builtin_expect(!!(x), 1)
  34.                                         ^
  35. In file included from include/uapi/linux/stddef.h:1:0,
  36.                  from include/linux/stddef.h:4,
  37.                  from ./include/uapi/linux/posix_types.h:4,
  38.                  from include/uapi/linux/types.h:13,
  39.                  from include/linux/types.h:5,
  40.                  from include/uapi/linux/capability.h:16,
  41.                  from include/linux/capability.h:15,
  42.                  from include/linux/sched.h:15,
  43.                  from include/linux/utsname.h:5,
  44.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  45.                  from /var/lib/dkms/nvidia-current/340.76/build/nv.c:13:
  46. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  47. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  48.   if (likely(sz < 0 || sz >= n))
  49.                           ^
  50. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  51.  # define likely(x) __builtin_expect(!!(x), 1)
  52.                                         ^
  53. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  54. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  55.   if (likely(sz < 0 || sz >= n))
  56.                           ^
  57. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  58.  # define likely(x) __builtin_expect(!!(x), 1)
  59.                                         ^
  60.   if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-current/340.76/build/nv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-current/340.76/build/nv.o"; fi; fi;
  61.   gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-acpi.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -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 -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -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 /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia-current/340.76/build/nv-acpi.c
  62. In file included from include/uapi/linux/stddef.h:1:0,
  63.                  from include/linux/stddef.h:4,
  64.                  from ./include/uapi/linux/posix_types.h:4,
  65.                  from include/uapi/linux/types.h:13,
  66.                  from include/linux/types.h:5,
  67.                  from include/uapi/linux/capability.h:16,
  68.                  from include/linux/capability.h:15,
  69.                  from include/linux/sched.h:15,
  70.                  from include/linux/utsname.h:5,
  71.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  72.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-acpi.c:15:
  73. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  74. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  75.           cnts, cnts | _QW_LOCKED) == cnts);
  76.                                    ^
  77. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  78.  # define likely(x) __builtin_expect(!!(x), 1)
  79.                                         ^
  80. In file included from include/uapi/linux/stddef.h:1:0,
  81.                  from include/linux/stddef.h:4,
  82.                  from ./include/uapi/linux/posix_types.h:4,
  83.                  from include/uapi/linux/types.h:13,
  84.                  from include/linux/types.h:5,
  85.                  from include/uapi/linux/capability.h:16,
  86.                  from include/linux/capability.h:15,
  87.                  from include/linux/sched.h:15,
  88.                  from include/linux/utsname.h:5,
  89.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  90.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-acpi.c:15:
  91. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  92. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  93.   if (likely(sz < 0 || sz >= n))
  94.                           ^
  95. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  96.  # define likely(x) __builtin_expect(!!(x), 1)
  97.                                         ^
  98. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  99. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  100.   if (likely(sz < 0 || sz >= n))
  101.                           ^
  102. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  103.  # define likely(x) __builtin_expect(!!(x), 1)
  104.                                         ^
  105.   if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-current/340.76/build/nv-acpi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-current/340.76/build/nv-acpi.o"; fi; fi;
  106.   gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-chrdev.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -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 -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -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 /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-chrdev.o /var/lib/dkms/nvidia-current/340.76/build/nv-chrdev.c
  107. In file included from include/uapi/linux/stddef.h:1:0,
  108.                  from include/linux/stddef.h:4,
  109.                  from ./include/uapi/linux/posix_types.h:4,
  110.                  from include/uapi/linux/types.h:13,
  111.                  from include/linux/types.h:5,
  112.                  from include/uapi/linux/capability.h:16,
  113.                  from include/linux/capability.h:15,
  114.                  from include/linux/sched.h:15,
  115.                  from include/linux/utsname.h:5,
  116.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  117.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-chrdev.c:15:
  118. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  119. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  120.           cnts, cnts | _QW_LOCKED) == cnts);
  121.                                    ^
  122. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  123.  # define likely(x) __builtin_expect(!!(x), 1)
  124.                                         ^
  125. In file included from include/uapi/linux/stddef.h:1:0,
  126.                  from include/linux/stddef.h:4,
  127.                  from ./include/uapi/linux/posix_types.h:4,
  128.                  from include/uapi/linux/types.h:13,
  129.                  from include/linux/types.h:5,
  130.                  from include/uapi/linux/capability.h:16,
  131.                  from include/linux/capability.h:15,
  132.                  from include/linux/sched.h:15,
  133.                  from include/linux/utsname.h:5,
  134.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  135.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-chrdev.c:15:
  136. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  137. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  138.   if (likely(sz < 0 || sz >= n))
  139.                           ^
  140. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  141.  # define likely(x) __builtin_expect(!!(x), 1)
  142.                                         ^
  143. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  144. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  145.   if (likely(sz < 0 || sz >= n))
  146.                           ^
  147. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  148.  # define likely(x) __builtin_expect(!!(x), 1)
  149.                                         ^
  150.   if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-current/340.76/build/nv-chrdev.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-current/340.76/build/nv-chrdev.o"; fi; fi;
  151.   gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-cray.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -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 -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -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 /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-cray.o /var/lib/dkms/nvidia-current/340.76/build/nv-cray.c
  152. In file included from include/uapi/linux/stddef.h:1:0,
  153.                  from include/linux/stddef.h:4,
  154.                  from ./include/uapi/linux/posix_types.h:4,
  155.                  from include/uapi/linux/types.h:13,
  156.                  from include/linux/types.h:5,
  157.                  from include/uapi/linux/capability.h:16,
  158.                  from include/linux/capability.h:15,
  159.                  from include/linux/sched.h:15,
  160.                  from include/linux/utsname.h:5,
  161.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  162.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-cray.c:15:
  163. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  164. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  165.           cnts, cnts | _QW_LOCKED) == cnts);
  166.                                    ^
  167. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  168.  # define likely(x) __builtin_expect(!!(x), 1)
  169.                                         ^
  170. In file included from include/uapi/linux/stddef.h:1:0,
  171.                  from include/linux/stddef.h:4,
  172.                  from ./include/uapi/linux/posix_types.h:4,
  173.                  from include/uapi/linux/types.h:13,
  174.                  from include/linux/types.h:5,
  175.                  from include/uapi/linux/capability.h:16,
  176.                  from include/linux/capability.h:15,
  177.                  from include/linux/sched.h:15,
  178.                  from include/linux/utsname.h:5,
  179.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  180.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-cray.c:15:
  181. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  182. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  183.   if (likely(sz < 0 || sz >= n))
  184.                           ^
  185. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  186.  # define likely(x) __builtin_expect(!!(x), 1)
  187.                                         ^
  188. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  189. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  190.   if (likely(sz < 0 || sz >= n))
  191.                           ^
  192. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  193.  # define likely(x) __builtin_expect(!!(x), 1)
  194.                                         ^
  195.   if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-current/340.76/build/nv-cray.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-current/340.76/build/nv-cray.o"; fi; fi;
  196.   gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-dma.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -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 -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -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 /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-dma.o /var/lib/dkms/nvidia-current/340.76/build/nv-dma.c
  197. In file included from include/uapi/linux/stddef.h:1:0,
  198.                  from include/linux/stddef.h:4,
  199.                  from ./include/uapi/linux/posix_types.h:4,
  200.                  from include/uapi/linux/types.h:13,
  201.                  from include/linux/types.h:5,
  202.                  from include/uapi/linux/capability.h:16,
  203.                  from include/linux/capability.h:15,
  204.                  from include/linux/sched.h:15,
  205.                  from include/linux/utsname.h:5,
  206.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  207.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-dma.c:15:
  208. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  209. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  210.           cnts, cnts | _QW_LOCKED) == cnts);
  211.                                    ^
  212. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  213.  # define likely(x) __builtin_expect(!!(x), 1)
  214.                                         ^
  215. In file included from include/uapi/linux/stddef.h:1:0,
  216.                  from include/linux/stddef.h:4,
  217.                  from ./include/uapi/linux/posix_types.h:4,
  218.                  from include/uapi/linux/types.h:13,
  219.                  from include/linux/types.h:5,
  220.                  from include/uapi/linux/capability.h:16,
  221.                  from include/linux/capability.h:15,
  222.                  from include/linux/sched.h:15,
  223.                  from include/linux/utsname.h:5,
  224.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  225.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-dma.c:15:
  226. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  227. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  228.   if (likely(sz < 0 || sz >= n))
  229.                           ^
  230. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  231.  # define likely(x) __builtin_expect(!!(x), 1)
  232.                                         ^
  233. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  234. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  235.   if (likely(sz < 0 || sz >= n))
  236.                           ^
  237. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  238.  # define likely(x) __builtin_expect(!!(x), 1)
  239.                                         ^
  240.   if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-current/340.76/build/nv-dma.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-current/340.76/build/nv-dma.o"; fi; fi;
  241.   gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-drm.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -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 -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -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 /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-drm.o /var/lib/dkms/nvidia-current/340.76/build/nv-drm.c
  242. In file included from include/uapi/linux/stddef.h:1:0,
  243.                  from include/linux/stddef.h:4,
  244.                  from ./include/uapi/linux/posix_types.h:4,
  245.                  from include/uapi/linux/types.h:13,
  246.                  from include/linux/types.h:5,
  247.                  from include/uapi/linux/capability.h:16,
  248.                  from include/linux/capability.h:15,
  249.                  from include/linux/sched.h:15,
  250.                  from include/linux/utsname.h:5,
  251.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  252.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-drm.c:15:
  253. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  254. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  255.           cnts, cnts | _QW_LOCKED) == cnts);
  256.                                    ^
  257. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  258.  # define likely(x) __builtin_expect(!!(x), 1)
  259.                                         ^
  260. In file included from include/uapi/linux/stddef.h:1:0,
  261.                  from include/linux/stddef.h:4,
  262.                  from ./include/uapi/linux/posix_types.h:4,
  263.                  from include/uapi/linux/types.h:13,
  264.                  from include/linux/types.h:5,
  265.                  from include/uapi/linux/capability.h:16,
  266.                  from include/linux/capability.h:15,
  267.                  from include/linux/sched.h:15,
  268.                  from include/linux/utsname.h:5,
  269.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  270.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-drm.c:15:
  271. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  272. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  273.   if (likely(sz < 0 || sz >= n))
  274.                           ^
  275. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  276.  # define likely(x) __builtin_expect(!!(x), 1)
  277.                                         ^
  278. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  279. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  280.   if (likely(sz < 0 || sz >= n))
  281.                           ^
  282. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  283.  # define likely(x) __builtin_expect(!!(x), 1)
  284.                                         ^
  285.   if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-current/340.76/build/nv-drm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-current/340.76/build/nv-drm.o"; fi; fi;
  286.   gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-gvi.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -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 -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -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 /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-gvi.o /var/lib/dkms/nvidia-current/340.76/build/nv-gvi.c
  287. In file included from include/uapi/linux/stddef.h:1:0,
  288.                  from include/linux/stddef.h:4,
  289.                  from ./include/uapi/linux/posix_types.h:4,
  290.                  from include/uapi/linux/types.h:13,
  291.                  from include/linux/types.h:5,
  292.                  from include/uapi/linux/capability.h:16,
  293.                  from include/linux/capability.h:15,
  294.                  from include/linux/sched.h:15,
  295.                  from include/linux/utsname.h:5,
  296.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  297.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-gvi.c:15:
  298. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  299. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  300.           cnts, cnts | _QW_LOCKED) == cnts);
  301.                                    ^
  302. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  303.  # define likely(x) __builtin_expect(!!(x), 1)
  304.                                         ^
  305. In file included from include/uapi/linux/stddef.h:1:0,
  306.                  from include/linux/stddef.h:4,
  307.                  from ./include/uapi/linux/posix_types.h:4,
  308.                  from include/uapi/linux/types.h:13,
  309.                  from include/linux/types.h:5,
  310.                  from include/uapi/linux/capability.h:16,
  311.                  from include/linux/capability.h:15,
  312.                  from include/linux/sched.h:15,
  313.                  from include/linux/utsname.h:5,
  314.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  315.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-gvi.c:15:
  316. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  317. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  318.   if (likely(sz < 0 || sz >= n))
  319.                           ^
  320. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  321.  # define likely(x) __builtin_expect(!!(x), 1)
  322.                                         ^
  323. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  324. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  325.   if (likely(sz < 0 || sz >= n))
  326.                           ^
  327. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  328.  # define likely(x) __builtin_expect(!!(x), 1)
  329.                                         ^
  330.   if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-current/340.76/build/nv-gvi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-current/340.76/build/nv-gvi.o"; fi; fi;
  331.   gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-i2c.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -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 -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -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 /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-i2c.o /var/lib/dkms/nvidia-current/340.76/build/nv-i2c.c
  332. In file included from include/uapi/linux/stddef.h:1:0,
  333.                  from include/linux/stddef.h:4,
  334.                  from ./include/uapi/linux/posix_types.h:4,
  335.                  from include/uapi/linux/types.h:13,
  336.                  from include/linux/types.h:5,
  337.                  from include/uapi/linux/capability.h:16,
  338.                  from include/linux/capability.h:15,
  339.                  from include/linux/sched.h:15,
  340.                  from include/linux/utsname.h:5,
  341.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  342.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-i2c.c:15:
  343. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  344. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  345.           cnts, cnts | _QW_LOCKED) == cnts);
  346.                                    ^
  347. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  348.  # define likely(x) __builtin_expect(!!(x), 1)
  349.                                         ^
  350. In file included from include/uapi/linux/stddef.h:1:0,
  351.                  from include/linux/stddef.h:4,
  352.                  from ./include/uapi/linux/posix_types.h:4,
  353.                  from include/uapi/linux/types.h:13,
  354.                  from include/linux/types.h:5,
  355.                  from include/uapi/linux/capability.h:16,
  356.                  from include/linux/capability.h:15,
  357.                  from include/linux/sched.h:15,
  358.                  from include/linux/utsname.h:5,
  359.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  360.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-i2c.c:15:
  361. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  362. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  363.   if (likely(sz < 0 || sz >= n))
  364.                           ^
  365. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  366.  # define likely(x) __builtin_expect(!!(x), 1)
  367.                                         ^
  368. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  369. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  370.   if (likely(sz < 0 || sz >= n))
  371.                           ^
  372. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  373.  # define likely(x) __builtin_expect(!!(x), 1)
  374.                                         ^
  375.   if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-current/340.76/build/nv-i2c.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-current/340.76/build/nv-i2c.o"; fi; fi;
  376.   gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-mempool.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -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 -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -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 /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-mempool.o /var/lib/dkms/nvidia-current/340.76/build/nv-mempool.c
  377. In file included from include/uapi/linux/stddef.h:1:0,
  378.                  from include/linux/stddef.h:4,
  379.                  from ./include/uapi/linux/posix_types.h:4,
  380.                  from include/uapi/linux/types.h:13,
  381.                  from include/linux/types.h:5,
  382.                  from include/uapi/linux/capability.h:16,
  383.                  from include/linux/capability.h:15,
  384.                  from include/linux/sched.h:15,
  385.                  from include/linux/utsname.h:5,
  386.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  387.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-mempool.c:15:
  388. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  389. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  390.           cnts, cnts | _QW_LOCKED) == cnts);
  391.                                    ^
  392. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  393.  # define likely(x) __builtin_expect(!!(x), 1)
  394.                                         ^
  395. In file included from include/uapi/linux/stddef.h:1:0,
  396.                  from include/linux/stddef.h:4,
  397.                  from ./include/uapi/linux/posix_types.h:4,
  398.                  from include/uapi/linux/types.h:13,
  399.                  from include/linux/types.h:5,
  400.                  from include/uapi/linux/capability.h:16,
  401.                  from include/linux/capability.h:15,
  402.                  from include/linux/sched.h:15,
  403.                  from include/linux/utsname.h:5,
  404.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  405.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-mempool.c:15:
  406. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  407. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  408.   if (likely(sz < 0 || sz >= n))
  409.                           ^
  410. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  411.  # define likely(x) __builtin_expect(!!(x), 1)
  412.                                         ^
  413. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  414. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  415.   if (likely(sz < 0 || sz >= n))
  416.                           ^
  417. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  418.  # define likely(x) __builtin_expect(!!(x), 1)
  419.                                         ^
  420.   if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-current/340.76/build/nv-mempool.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-current/340.76/build/nv-mempool.o"; fi; fi;
  421.   gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-mmap.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -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 -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -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 /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-mmap.o /var/lib/dkms/nvidia-current/340.76/build/nv-mmap.c
  422. In file included from include/uapi/linux/stddef.h:1:0,
  423.                  from include/linux/stddef.h:4,
  424.                  from ./include/uapi/linux/posix_types.h:4,
  425.                  from include/uapi/linux/types.h:13,
  426.                  from include/linux/types.h:5,
  427.                  from include/uapi/linux/capability.h:16,
  428.                  from include/linux/capability.h:15,
  429.                  from include/linux/sched.h:15,
  430.                  from include/linux/utsname.h:5,
  431.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  432.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-mmap.c:15:
  433. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  434. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  435.           cnts, cnts | _QW_LOCKED) == cnts);
  436.                                    ^
  437. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  438.  # define likely(x) __builtin_expect(!!(x), 1)
  439.                                         ^
  440. In file included from include/uapi/linux/stddef.h:1:0,
  441.                  from include/linux/stddef.h:4,
  442.                  from ./include/uapi/linux/posix_types.h:4,
  443.                  from include/uapi/linux/types.h:13,
  444.                  from include/linux/types.h:5,
  445.                  from include/uapi/linux/capability.h:16,
  446.                  from include/linux/capability.h:15,
  447.                  from include/linux/sched.h:15,
  448.                  from include/linux/utsname.h:5,
  449.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  450.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-mmap.c:15:
  451. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  452. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  453.   if (likely(sz < 0 || sz >= n))
  454.                           ^
  455. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  456.  # define likely(x) __builtin_expect(!!(x), 1)
  457.                                         ^
  458. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  459. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  460.   if (likely(sz < 0 || sz >= n))
  461.                           ^
  462. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  463.  # define likely(x) __builtin_expect(!!(x), 1)
  464.                                         ^
  465.   if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-current/340.76/build/nv-mmap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-current/340.76/build/nv-mmap.o"; fi; fi;
  466.   gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-p2p.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -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 -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -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_p2p)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-p2p.o /var/lib/dkms/nvidia-current/340.76/build/nv-p2p.c
  467. In file included from include/uapi/linux/stddef.h:1:0,
  468.                  from include/linux/stddef.h:4,
  469.                  from ./include/uapi/linux/posix_types.h:4,
  470.                  from include/uapi/linux/types.h:13,
  471.                  from include/linux/types.h:5,
  472.                  from include/uapi/linux/capability.h:16,
  473.                  from include/linux/capability.h:15,
  474.                  from include/linux/sched.h:15,
  475.                  from include/linux/utsname.h:5,
  476.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  477.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-p2p.c:15:
  478. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  479. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  480.           cnts, cnts | _QW_LOCKED) == cnts);
  481.                                    ^
  482. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  483.  # define likely(x) __builtin_expect(!!(x), 1)
  484.                                         ^
  485. In file included from include/uapi/linux/stddef.h:1:0,
  486.                  from include/linux/stddef.h:4,
  487.                  from ./include/uapi/linux/posix_types.h:4,
  488.                  from include/uapi/linux/types.h:13,
  489.                  from include/linux/types.h:5,
  490.                  from include/uapi/linux/capability.h:16,
  491.                  from include/linux/capability.h:15,
  492.                  from include/linux/sched.h:15,
  493.                  from include/linux/utsname.h:5,
  494.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  495.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-p2p.c:15:
  496. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  497. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  498.   if (likely(sz < 0 || sz >= n))
  499.                           ^
  500. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  501.  # define likely(x) __builtin_expect(!!(x), 1)
  502.                                         ^
  503. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  504. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  505.   if (likely(sz < 0 || sz >= n))
  506.                           ^
  507. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  508.  # define likely(x) __builtin_expect(!!(x), 1)
  509.                                         ^
  510.   if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-current/340.76/build/nv-p2p.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/nvidia-current/340.76/build/nv-p2p.o"; fi; fi;
  511.   gcc -Wp,-MD,/var/lib/dkms/nvidia-current/340.76/build/.nv-pat.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -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 -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/340.76/build -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_pat)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/340.76/build/.tmp_nv-pat.o /var/lib/dkms/nvidia-current/340.76/build/nv-pat.c
  512. In file included from include/uapi/linux/stddef.h:1:0,
  513.                  from include/linux/stddef.h:4,
  514.                  from ./include/uapi/linux/posix_types.h:4,
  515.                  from include/uapi/linux/types.h:13,
  516.                  from include/linux/types.h:5,
  517.                  from include/uapi/linux/capability.h:16,
  518.                  from include/linux/capability.h:15,
  519.                  from include/linux/sched.h:15,
  520.                  from include/linux/utsname.h:5,
  521.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  522.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-pat.c:15:
  523. include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  524. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  525.           cnts, cnts | _QW_LOCKED) == cnts);
  526.                                    ^
  527. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  528.  # define likely(x) __builtin_expect(!!(x), 1)
  529.                                         ^
  530. In file included from include/uapi/linux/stddef.h:1:0,
  531.                  from include/linux/stddef.h:4,
  532.                  from ./include/uapi/linux/posix_types.h:4,
  533.                  from include/uapi/linux/types.h:13,
  534.                  from include/linux/types.h:5,
  535.                  from include/uapi/linux/capability.h:16,
  536.                  from include/linux/capability.h:15,
  537.                  from include/linux/sched.h:15,
  538.                  from include/linux/utsname.h:5,
  539.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-linux.h:46,
  540.                  from /var/lib/dkms/nvidia-current/340.76/build/nv-pat.c:15:
  541. ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  542. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  543.   if (likely(sz < 0 || sz >= n))
  544.                           ^
  545. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  546.  # define likely(x) __builtin_expect(!!(x), 1)
  547.                                         ^
  548. ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  549. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  550.   if (likely(sz < 0 || sz >= n))
  551.                           ^
  552. include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  553.  # define likely(x) __builtin_expect(!!(x), 1)
  554.                                         ^
  555. /var/lib/dkms/nvidia-current/340.76/build/nv-pat.c: In function ‘nv_disable_caches’:
  556. /var/lib/dkms/nvidia-current/340.76/build/nv-pat.c:38:12: error: implicit declaration of function ‘read_cr4’ [-Werror=implicit-function-declaration]
  557.      *cr4 = read_cr4();
  558.             ^
  559. /var/lib/dkms/nvidia-current/340.76/build/nv-pat.c:39:22: error: implicit declaration of function ‘write_cr4’ [-Werror=implicit-function-declaration]
  560.      if (*cr4 & 0x80) write_cr4(*cr4 & ~0x80);
  561.                       ^
  562. cc1: some warnings being treated as errors
  563. scripts/Makefile.build:258: recipe for target '/var/lib/dkms/nvidia-current/340.76/build/nv-pat.o' failed
  564. make[2]: *** [/var/lib/dkms/nvidia-current/340.76/build/nv-pat.o] Error 1
  565. Makefile:1390: recipe for target '_module_/var/lib/dkms/nvidia-current/340.76/build' failed
  566. make[1]: *** [_module_/var/lib/dkms/nvidia-current/340.76/build] Error 2
  567. make[1]: Leaving directory '/data/ext/kernel/debian/linux-4.0'
  568. Makefile:35: recipe for target 'modules' failed
  569. make: *** [modules] Error 2
  570. make: Leaving directory '/var/lib/dkms/nvidia-current/340.76/build'
  571. make: Entering directory '/var/lib/dkms/nvidia-current/340.76/build/uvm'
  572. make KBUILD_VERBOSE=1 -C /lib/modules/4.0.0/build M=/var/lib/dkms/nvidia-current/340.76/build/uvm modules
  573. make[1]: Entering directory '/data/ext/kernel/debian/linux-4.0'
  574. test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
  575. echo >&2;                                                       \
  576. echo >&2 "  ERROR: Kernel configuration is invalid.";           \
  577. echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
  578. echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
  579. echo >&2 ;                                                      \
  580. /bin/false)
  581. mkdir -p /var/lib/dkms/nvidia-current/340.76/build/uvm/.tmp_versions ; rm -f /var/lib/dkms/nvidia-current/340.76/build/uvm/.tmp_versions/*
  582. make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia-current/340.76/build/uvm
  583. /bin/sh /var/lib/dkms/nvidia-current/340.76/build/uvm/conftest.sh "gcc" "gcc" x86 /lib/modules/4.0.0/build /lib/modules/4.0.0/build compile_tests remap_page_range remap_pfn_range irq_handler_t vm_insert_page kmem_cache_create outer_flush_all vm_operations_struct file_operations task_struct address_space address_space_init_once kbasename fatal_signal_pending kuid_t
  584. /bin/sh /var/lib/dkms/nvidia-current/340.76/build/uvm/conftest.sh "gcc" "gcc" x86 /lib/modules/4.0.0/build /lib/modules/4.0.0/build patch_check
  585. *** Please build the nvidia.ko module first ***
  586. exit 1
  587. /var/lib/dkms/nvidia-current/340.76/build/uvm/Kbuild:220: recipe for target '/var/lib/dkms/nvidia-current/340.76/build/uvm/../Module.symvers' failed
  588. make[2]: *** [/var/lib/dkms/nvidia-current/340.76/build/uvm/../Module.symvers] Error 1
  589. Makefile:1390: recipe for target '_module_/var/lib/dkms/nvidia-current/340.76/build/uvm' failed
  590. make[1]: *** [_module_/var/lib/dkms/nvidia-current/340.76/build/uvm] Error 2
  591. make[1]: Leaving directory '/data/ext/kernel/debian/linux-4.0'
  592. Makefile:35: recipe for target 'modules' failed
  593. make: *** [modules] Error 2
  594. make: Leaving directory '/var/lib/dkms/nvidia-current/340.76/build/uvm'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top