- nvidia-installer log file '/var/log/nvidia-installer.log'
- creation time: Fri Oct 23 22:31:53 2020
- installer version: 418.113
- PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- nvidia-installer command line:
- ./nvidia-installer
- Using: nvidia-installer ncurses v6 user interface
- -> Detected 8 CPUs online; setting concurrency level to 8.
- -> Installing NVIDIA driver version 418.113.
- -> Performing CC sanity check with CC="/usr/bin/cc".
- -> Kernel source path: '/lib/modules/5.8.0-kali3-amd64/source'
- -> Kernel output path: '/lib/modules/5.8.0-kali3-amd64/build'
- -> The CC version check failed:
- The kernel was built with gcc-10 (Debian 10.2.0-13) 10.2.0, GNU ld (GNU Binutils for Debian) 2.35.1, but the current compiler version is cc (Debian 9.3.0-18) 9.3.0.
- This may lead to subtle problems; if you are not certain whether the mismatched compiler will be compatible with your kernel, you may wish to abort installation, set the CC environment variable to the name of the compiler used to compile your kernel, and restart installation. (Answer: Ignore CC version check)
- WARNING: Ignoring CC version mismatch:
- The kernel was built with gcc-10 (Debian 10.2.0-13) 10.2.0, GNU ld (GNU Binutils for Debian) 2.35.1, but the current compiler version is cc (Debian 9.3.0-18) 9.3.0.
- -> Performing Compiler check.
- -> Performing Dom0 check.
- -> Performing Xen check.
- -> Performing PREEMPT_RT check.
- -> Performing vgpu_kvm check.
- -> Cleaning kernel module build directory.
- executing: 'cd ./kernel; /usr/bin/make -k -j8 clean NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.8.0-kali3-amd64/source" SYSOUT="/lib/modules/5.8.0-kali3-amd64/build"'...
- rm -f -r conftest
- make[1]: Entering directory '/usr/src/linux-headers-5.8.0-kali3-common'
- make[2]: Entering directory '/usr/src/linux-headers-5.8.0-kali3-amd64'
- make[2]: Leaving directory '/usr/src/linux-headers-5.8.0-kali3-amd64'
- make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-kali3-common'
- -> Building kernel modules
- executing: 'cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.8.0-kali3-amd64/source" SYSOUT="/lib/modules/5.8.0-kali3-amd64/build"'...
- make[1]: Entering directory '/usr/src/linux-headers-5.8.0-kali3-common'
- make[2]: Entering directory '/usr/src/linux-headers-5.8.0-kali3-amd64'
- scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead
- SYMLINK /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-kernel.o
- SYMLINK /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nv-modeset-kernel.o
- CONFTEST: INIT_WORK
- CONFTEST: remap_pfn_range
- CONFTEST: hash__remap_4k_pfn
- CONFTEST: follow_pfn
- CONFTEST: vmap
- CONFTEST: set_pages_uc
- CONFTEST: list_is_first
- CONFTEST: set_memory_uc
- CONFTEST: set_memory_array_uc
- CONFTEST: change_page_attr
- CONFTEST: pci_get_class
- CONFTEST: pci_choose_state
- CONFTEST: vm_insert_page
- CONFTEST: acpi_device_id
- CONFTEST: acquire_console_sem
- CONFTEST: console_lock
- CONFTEST: kmem_cache_create
- CONFTEST: on_each_cpu
- CONFTEST: smp_call_function
- CONFTEST: acpi_evaluate_integer
- CONFTEST: ioremap_cache
- CONFTEST: ioremap_wc
- CONFTEST: acpi_walk_namespace
- CONFTEST: pci_domain_nr
- CONFTEST: pci_dma_mapping_error
- CONFTEST: sg_alloc_table
- CONFTEST: sg_init_table
- CONFTEST: pci_get_domain_bus_and_slot
- CONFTEST: get_num_physpages
- CONFTEST: efi_enabled
- CONFTEST: proc_create_data
- CONFTEST: pde_data
- CONFTEST: proc_remove
- CONFTEST: pm_vt_switch_required
- CONFTEST: xen_ioemu_inject_msi
- CONFTEST: phys_to_dma
- CONFTEST: get_dma_ops
- CONFTEST: write_cr4
- CONFTEST: of_get_property
- CONFTEST: of_find_node_by_phandle
- CONFTEST: of_node_to_nid
- CONFTEST: pnv_pci_get_npu_dev
- CONFTEST: of_get_ibm_chip_id
- CONFTEST: for_each_online_node
- CONFTEST: node_end_pfn
- CONFTEST: pci_bus_address
- CONFTEST: pci_stop_and_remove_bus_device
- CONFTEST: pci_remove_bus_device
- CONFTEST: request_threaded_irq
- CONFTEST: register_cpu_notifier
- CONFTEST: cpuhp_setup_state
- CONFTEST: dma_map_resource
- CONFTEST: backlight_device_register
- CONFTEST: register_acpi_notifier
- CONFTEST: timer_setup
- CONFTEST: pci_enable_msix_range
- CONFTEST: compound_order
- CONFTEST: do_gettimeofday
- CONFTEST: dma_direct_map_resource
- CONFTEST: vmf_insert_pfn
- CONFTEST: remap_page_range
- CONFTEST: address_space_init_once
- CONFTEST: kbasename
- CONFTEST: fatal_signal_pending
- CONFTEST: list_cut_position
- CONFTEST: vzalloc
- CONFTEST: wait_on_bit_lock_argument_count
- CONFTEST: bitmap_clear
- CONFTEST: usleep_range
- CONFTEST: radix_tree_empty
- CONFTEST: radix_tree_replace_slot
- CONFTEST: pnv_npu2_init_context
- CONFTEST: drm_dev_unref
- CONFTEST: drm_reinit_primary_mode_group
- CONFTEST: get_user_pages_remote
- CONFTEST: get_user_pages
- CONFTEST: drm_gem_object_lookup
- CONFTEST: drm_atomic_state_ref_counting
- CONFTEST: drm_driver_has_gem_prime_res_obj
- CONFTEST: drm_atomic_helper_connector_dpms
- CONFTEST: drm_connector_funcs_have_mode_in_name
- CONFTEST: drm_framebuffer_get
- CONFTEST: drm_gem_object_get
- CONFTEST: drm_dev_put
- CONFTEST: is_export_symbol_gpl_of_node_to_nid
- CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
- CONFTEST: is_export_symbol_present_swiotlb_dma_ops
- CONFTEST: i2c_adapter
- CONFTEST: pm_message_t
- CONFTEST: irq_handler_t
- CONFTEST: acpi_device_ops
- CONFTEST: acpi_op_remove
- CONFTEST: outer_flush_all
- CONFTEST: proc_dir_entry
- CONFTEST: scatterlist
- CONFTEST: sg_table
- CONFTEST: file_operations
- CONFTEST: vm_operations_struct
- CONFTEST: atomic_long_type
- CONFTEST: file_inode
- CONFTEST: task_struct
- CONFTEST: kuid_t
- CONFTEST: dma_ops
- CONFTEST: swiotlb_dma_ops
- CONFTEST: dma_map_ops
- CONFTEST: noncoherent_swiotlb_dma_ops
- CONFTEST: vm_fault_present
- CONFTEST: vm_fault_has_address
- CONFTEST: backlight_properties_type
- CONFTEST: vmbus_channel_has_ringbuffer_page
- CONFTEST: kmem_cache_has_kobj_remove_work
- CONFTEST: sysfs_slab_unlink
- CONFTEST: fault_flags
- CONFTEST: atomic64_type
- CONFTEST: address_space
- CONFTEST: backing_dev_info
- CONFTEST: mm_context_t
- CONFTEST: vm_ops_fault_removed_vma_arg
- CONFTEST: node_states_n_memory
- CONFTEST: drm_bus_present
- CONFTEST: drm_bus_has_bus_type
- CONFTEST: drm_bus_has_get_irq
- CONFTEST: drm_bus_has_get_name
- CONFTEST: drm_driver_has_legacy_dev_list
- CONFTEST: drm_driver_has_set_busid
- CONFTEST: drm_crtc_state_has_connectors_changed
- CONFTEST: drm_init_function_args
- CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
- CONFTEST: drm_helper_mode_fill_fb_struct
- CONFTEST: drm_master_drop_has_from_release_arg
- CONFTEST: drm_driver_unload_has_int_return_type
- CONFTEST: kref_has_refcount_of_type_refcount_t
- CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
- CONFTEST: drm_crtc_helper_funcs_has_atomic_enable
- CONFTEST: drm_mode_object_find_has_file_priv_arg
- CONFTEST: dma_buf_owner
- CONFTEST: drm_connector_list_iter
- CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
- CONFTEST: drm_driver_prime_flag_present
- CONFTEST: dom0_kernel_present
- CONFTEST: nvidia_vgpu_hyperv_available
- CONFTEST: nvidia_vgpu_kvm_build
- CONFTEST: nvidia_grid_build
- CONFTEST: drm_available
- CONFTEST: drm_atomic_available
- CONFTEST: is_export_symbol_gpl_refcount_inc
- CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:14:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:13:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:13:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o] Error 1
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o] Error 1
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o] Error 1
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:285: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 255 | if (NV_ALLOW_CACHING(memory_type))
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:257:9: note: here
- 257 | default:
- | ^~~~~~~
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:14:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o] Error 1
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_add_text_file':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1026:5: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1026 | NV_CREATE_PROC_FILE(filename, parent, text_file, (void *)text);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c: In function 'nv_register_procfs':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1080:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1080 | entry = NV_CREATE_PROC_FILE("params", proc_nvidia, params, NULL);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1084:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1084 | entry = NV_CREATE_PROC_FILE("registry", proc_nvidia, registry, NULL);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1105:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1105 | entry = NV_CREATE_PROC_FILE("version", proc_nvidia, version, NULL);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_add_gpu':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1147:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1147 | entry = NV_CREATE_PROC_FILE("information", proc_nvidia_gpu, gpu_info,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1152:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1152 | entry = NV_CREATE_PROC_FILE("registry", proc_nvidia_gpu, registry, nv);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1158:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1158 | entry = NV_CREATE_PROC_FILE("exercise_error_forwarding", proc_nvidia_gpu,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1166:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1166 | entry = NV_CREATE_PROC_FILE("unbindLock", proc_nvidia_gpu, unbind_lock, nv);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1173:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1173 | entry = NV_CREATE_PROC_FILE("numa_status", proc_nvidia_gpu, numa_status,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1178:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1178 | entry = NV_CREATE_PROC_FILE("offline_pages", proc_nvidia_gpu, offline_pages,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c: In function 'nv_set_memory_array_type':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:86:13: error: implicit declaration of function 'set_memory_array_uc'; did you mean 'set_pages_array_uc'? [-Werror=implicit-function-declaration]
- 86 | set_memory_array_uc(pages, num_pages);
- | ^~~~~~~~~~~~~~~~~~~
- | set_pages_array_uc
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:89:13: error: implicit declaration of function 'set_memory_array_wb'; did you mean 'set_pages_array_wb'? [-Werror=implicit-function-declaration]
- 89 | set_memory_array_wb(pages, num_pages);
- | ^~~~~~~~~~~~~~~~~~~
- | set_pages_array_wb
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pci-table.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-kthread-q.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:17:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function 'os_get_current_time':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:432:20: error: storage size of 'tm' isn't known
- 432 | struct timeval tm;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:432:20: warning: unused variable 'tm' [-Wunused-variable]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function 'os_get_current_tick':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:446:21: error: storage size of 'ts' isn't known
- 446 | struct timespec ts;
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c: In function 'os_lookup_user_io_memory':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:47:20: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 47 | down_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:80:18: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 80 | up_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c: In function 'os_lock_user_pages':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:118:20: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 118 | down_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:121:18: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 121 | up_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:448:5: error: implicit declaration of function 'jiffies_to_timespec'; did you mean 'jiffies_to_timespec64'? [-Werror=implicit-function-declaration]
- 448 | jiffies_to_timespec(jiffies, &ts);
- | ^~~~~~~~~~~~~~~~~~~
- | jiffies_to_timespec64
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:446:21: warning: unused variable 'ts' [-Wunused-variable]
- 446 | struct timespec ts;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function 'os_delay':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:20: error: storage size of 'tm_end' isn't known
- 558 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:28: error: storage size of 'tm_aux' isn't known
- 558 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:28: warning: unused variable 'tm_aux' [-Wunused-variable]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:20: warning: unused variable 'tm_end' [-Wunused-variable]
- 558 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-kthread-q-selftest.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function '_os_ipmi_receive_resp':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:1917:29: error: storage size of 'tv' isn't known
- 1917 | struct timeval tv;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:1917:29: warning: unused variable 'tv' [-Wunused-variable]
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o] Error 1
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o] Error 1
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:21:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:21:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:21:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:285: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/nvstatus.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/nvCpuUuid.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:32:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nvlink_permissions_init':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:105:26: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 105 | nvlink_permissions = NV_CREATE_PROC_FILE("permissions",
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:506:18: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 506 | const struct timeval *a,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nv_timer_less_than':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:510:14: error: dereferencing pointer to incomplete type 'const struct timeval'
- 510 | return (a->tv_sec == b->tv_sec) ? (a->tv_usec < b->tv_usec)
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:516:18: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 516 | const struct timeval *a,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nv_timeradd':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:521:11: error: dereferencing pointer to incomplete type 'struct timeval'
- 521 | result->tv_sec = a->tv_sec + b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:521:23: error: dereferencing pointer to incomplete type 'const struct timeval'
- 521 | result->tv_sec = a->tv_sec + b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:532:18: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 532 | const struct timeval *a,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nv_timersub':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:537:11: error: dereferencing pointer to incomplete type 'struct timeval'
- 537 | result->tv_sec = a->tv_sec - b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:537:23: error: dereferencing pointer to incomplete type 'const struct timeval'
- 537 | result->tv_sec = a->tv_sec - b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nvlink_sleep':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:20: error: storage size of 'tm_end' isn't known
- 554 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:28: error: storage size of 'tm_aux' isn't known
- 554 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:28: warning: unused variable 'tm_aux' [-Wunused-variable]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:20: warning: unused variable 'tm_end' [-Wunused-variable]
- 554 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c: In function 'nvswitch_permissions_init':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:324:28: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 324 | nvswitch_permissions = NV_CREATE_PROC_FILE("permissions",
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:16,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:26:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c: In function 'nvswitch_os_get_platform_time':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1562:21: error: storage size of 'ts' isn't known
- 1562 | struct timespec ts;
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1564:5: error: implicit declaration of function 'getnstimeofday'; did you mean 'efi_gettimeofday'? [-Werror=implicit-function-declaration]
- 1564 | getnstimeofday(&ts);
- | ^~~~~~~~~~~~~~
- | efi_gettimeofday
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1565:21: error: implicit declaration of function 'timespec_to_ns'; did you mean 'timespec64_to_ns'? [-Werror=implicit-function-declaration]
- 1565 | return ((NvU64) timespec_to_ns(&ts));
- | ^~~~~~~~~~~~~~
- | timespec64_to_ns
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1562:21: warning: unused variable 'ts' [-Wunused-variable]
- 1562 | struct timespec ts;
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1566:1: warning: control reaches end of non-void function [-Wreturn-type]
- 1566 | }
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c: In function 'uvm_vm_open_managed':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:301:50: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 301 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:301:5: note: in expansion of macro 'uvm_record_lock_mmap_sem_write'
- 301 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:350:52: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 350 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:350:5: note: in expansion of macro 'uvm_record_unlock_mmap_sem_write'
- 350 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c: In function 'uvm_vm_close_managed':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:360:54: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 360 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:360:9: note: in expansion of macro 'uvm_record_lock_mmap_sem_write'
- 360 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:390:56: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 390 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:390:9: note: in expansion of macro 'uvm_record_unlock_mmap_sem_write'
- 390 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c: In function 'uvm_vm_fault':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c: In function 'map_user_pages':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:418:48: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 418 | uvm_record_lock_mmap_sem_read(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:418:5: note: in expansion of macro 'uvm_record_lock_mmap_sem_read'
- 418 | uvm_record_lock_mmap_sem_read(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:258:29: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 258 | down_read(¤t->mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:260:27: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 260 | up_read(¤t->mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:478:50: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 478 | uvm_record_unlock_mmap_sem_read(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:478:5: note: in expansion of macro 'uvm_record_unlock_mmap_sem_read'
- 478 | uvm_record_unlock_mmap_sem_read(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c: In function 'uvm_vm_open_semaphore_pool':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:543:50: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 543 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:543:5: note: in expansion of macro 'uvm_record_lock_mmap_sem_write'
- 543 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:581:52: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 581 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:581:5: note: in expansion of macro 'uvm_record_unlock_mmap_sem_write'
- 581 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c: In function 'uvm_vm_close_semaphore_pool':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:591:54: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 591 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:591:9: note: in expansion of macro 'uvm_record_lock_mmap_sem_write'
- 591 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:600:56: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 600 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:600:9: note: in expansion of macro 'uvm_record_unlock_mmap_sem_write'
- 600 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c: In function 'uvm_mmap':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:626:50: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 626 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:626:5: note: in expansion of macro 'uvm_record_lock_mmap_sem_write'
- 626 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:712:52: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 712 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:712:5: note: in expansion of macro 'uvm_record_unlock_mmap_sem_write'
- 712 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c: In function 'uvm8_initialize':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:853:43: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 853 | uvm_down_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:560:16: note: in definition of macro 'uvm_down_write_mmap_sem'
- 560 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:853:43: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 853 | uvm_down_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:560:34: note: in definition of macro 'uvm_down_write_mmap_sem'
- 560 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:562:20: warning: passing argument 1 of 'down_write' makes pointer from integer without a cast [-Wint-conversion]
- 562 | down_write(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:853:5: note: in expansion of macro 'uvm_down_write_mmap_sem'
- 853 | uvm_down_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:136:45: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 136 | extern void down_write(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:870:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 870 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:566:16: note: in definition of macro 'uvm_up_write_mmap_sem'
- 566 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:870:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 870 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:566:34: note: in definition of macro 'uvm_up_write_mmap_sem'
- 566 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:567:18: warning: passing argument 1 of 'up_write' makes pointer from integer without a cast [-Wint-conversion]
- 567 | up_write(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:870:5: note: in expansion of macro 'uvm_up_write_mmap_sem'
- 870 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:152:43: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 152 | extern void up_write(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c: In function 'init_procfs_files':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:428:29: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 428 | gpu->procfs.info_file = NV_CREATE_PROC_FILE("info", gpu->procfs.dir, gpu_info, (void *)gpu);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:436:36: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 436 | gpu->procfs.fault_stats_file = NV_CREATE_PROC_FILE("fault_stats", gpu->procfs.dir, gpu_fault_stats, (void *)gpu);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:440:40: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 440 | gpu->procfs.access_counters_file = NV_CREATE_PROC_FILE("access_counters", gpu->procfs.dir, gpu_access_counters, (void *)gpu);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c: In function 'mm_read64':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:536:33: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 536 | uvm_down_read_mmap_sem(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:536:33: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 536 | uvm_down_read_mmap_sem(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:536:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 536 | uvm_down_read_mmap_sem(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:538:31: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 538 | uvm_up_read_mmap_sem(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:538:31: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 538 | uvm_up_read_mmap_sem(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:538:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 538 | uvm_up_read_mmap_sem(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c: In function 'uvm_va_space_unregister_gpu':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:755:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 755 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:755:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 755 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:755:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 755 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:780:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 780 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:780:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 780 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:780:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 780 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c: In function 'uvm_va_space_register_gpu_va_space':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1249:43: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1249 | uvm_down_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:560:16: note: in definition of macro 'uvm_down_write_mmap_sem'
- 560 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1249:43: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1249 | uvm_down_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:560:34: note: in definition of macro 'uvm_down_write_mmap_sem'
- 560 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:562:20: warning: passing argument 1 of 'down_write' makes pointer from integer without a cast [-Wint-conversion]
- 562 | down_write(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1249:5: note: in expansion of macro 'uvm_down_write_mmap_sem'
- 1249 | uvm_down_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:136:45: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 136 | extern void down_write(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1302:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1302 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:566:16: note: in definition of macro 'uvm_up_write_mmap_sem'
- 566 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1302:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1302 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:566:34: note: in definition of macro 'uvm_up_write_mmap_sem'
- 566 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:567:18: warning: passing argument 1 of 'up_write' makes pointer from integer without a cast [-Wint-conversion]
- 567 | up_write(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1302:5: note: in expansion of macro 'uvm_up_write_mmap_sem'
- 1302 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:152:43: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 152 | extern void up_write(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1320:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1320 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:566:16: note: in definition of macro 'uvm_up_write_mmap_sem'
- 566 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1320:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1320 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:566:34: note: in definition of macro 'uvm_up_write_mmap_sem'
- 566 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:567:18: warning: passing argument 1 of 'up_write' makes pointer from integer without a cast [-Wint-conversion]
- 567 | up_write(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1320:5: note: in expansion of macro 'uvm_up_write_mmap_sem'
- 1320 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:152:43: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 152 | extern void up_write(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c: In function 'uvm_va_space_unregister_gpu_va_space':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1407:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1407 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1407:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1407 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1407:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 1407 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1431:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1431 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1431:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1431 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1431:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 1431 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c: In function 'uvm_mem_map_cpu_to_sysmem_user':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:484:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 484 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:484:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 484 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:484:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 484 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:484:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 484 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:484:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 484 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:484:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 484 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c: In function 'uvm_mem_map_cpu_to_vidmem_user':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:508:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 508 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:508:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 508 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:508:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 508 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:508:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 508 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:508:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 508 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:508:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 508 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c: In function 'manager_create_procfs':
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:1212:38: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1212 | manager->procfs.pending_pushes = NV_CREATE_PROC_FILE("pending_pushes", gpu->procfs.dir, manager_pending_pushes, (void *)manager);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c: In function 'channel_create_procfs':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:1253:28: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1253 | channel->procfs.info = NV_CREATE_PROC_FILE("info", channel->procfs.dir, channel_info, (void *)channel);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:1257:30: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1257 | channel->procfs.pushes = NV_CREATE_PROC_FILE("pushes", channel->procfs.dir, channel_pushes, (void *)channel);
- | ^~~~~~~~~~~~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c: In function 'uvm8_test_va_range_info':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:1766:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1766 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:1766:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1766 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:1766:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 1766 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:1827:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1827 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:1827:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1827 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:1827:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 1827 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c: In function 'block_map_cpu_page_to':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:6420:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 6420 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:6420:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 6420 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:6420:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 6420 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:6420:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 6420 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:6420:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 6420 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:6420:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 6420 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c: In function 'uvm8_test_change_pte_mapping':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10482:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10482 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10482:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10482 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10482:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 10482 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10565:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10565 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10565:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10565 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10565:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 10565 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c: In function 'uvm8_test_va_block_info':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10580:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10580 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10580:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10580 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10580:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 10580 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10598:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10598 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10598:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10598 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10598:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 10598 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c: In function 'uvm8_test_va_residency_info':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10614:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10614 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10614:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10614 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10614:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 10614 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10739:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10739 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10739:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10739 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10739:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 10739 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h: In function 'uvm_can_ats_service_faults':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h: In function 'uvm_can_ats_service_faults':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c: In function 'service_fault':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:506:50: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 506 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:506:50: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 506 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:506:9: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 506 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:557:48: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 557 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:557:48: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 557 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:557:9: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 557 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c: In function 'service_fault_batch':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1433:60: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1433 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1433:60: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1433 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1433:21: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 1433 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1452:58: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1452 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1452:58: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1452 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1452:17: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 1452 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1558:52: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1558 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1558:52: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1558 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1558:13: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 1558 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.h:26,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.h:26,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c: In function 'service_phys_single_va_block':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:1183:54: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1183 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:1183:54: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1183 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:1183:13: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 1183 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:1225:48: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1225 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:1225:48: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1225 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:1225:9: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 1225 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.c:26:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c: In function 'create_procfs':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:54:36: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 54 | pushbuffer->procfs.info_file = NV_CREATE_PROC_FILE("pushbuffer", gpu->procfs.dir, pushbuffer_info, (void *)pushbuffer);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.c:26:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:285: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.c:26:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c: In function 'uvm_is_valid_vma_range':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:42:46: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:42:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:42:46: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:42:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:42:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:42:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c: In function 'uvm_api_set_preferred_location':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:235:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 235 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:235:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 235 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:235:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 235 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:308:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 308 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:308:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 308 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:308:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 308 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c: In function 'uvm_api_unset_preferred_location':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:320:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 320 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:320:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 320 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:320:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 320 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:331:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 331 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:331:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 331 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:331:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 331 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c: In function 'accessed_by_set':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:412:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 412 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:412:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 412 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:412:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 412 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:476:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 476 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:476:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 476 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:476:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 476 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c: In function 'read_duplication_set':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:659:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 659 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:659:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 659 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:659:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 659 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:713:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 713 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:713:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 713 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:713:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 713 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:33,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:33,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c: In function 'uvm_migrate':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:600:46: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 600 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:600:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 600 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:600:46: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 600 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:600:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 600 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:600:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 600 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:600:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 600 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c: In function 'uvm_api_migrate':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:857:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 857 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:857:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 857 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:857:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 857 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:939:53: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 939 | uvm_up_read_mmap_sem_out_of_order(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:554:16: note: in definition of macro 'uvm_up_read_mmap_sem_out_of_order'
- 554 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:939:53: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 939 | uvm_up_read_mmap_sem_out_of_order(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:554:34: note: in definition of macro 'uvm_up_read_mmap_sem_out_of_order'
- 554 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:555:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 555 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:939:5: note: in expansion of macro 'uvm_up_read_mmap_sem_out_of_order'
- 939 | uvm_up_read_mmap_sem_out_of_order(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c: In function 'uvm_api_migrate_range_group':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:985:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 985 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:985:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 985 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:985:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 985 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:1030:53: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1030 | uvm_up_read_mmap_sem_out_of_order(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:554:16: note: in definition of macro 'uvm_up_read_mmap_sem_out_of_order'
- 554 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:1030:53: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1030 | uvm_up_read_mmap_sem_out_of_order(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:554:34: note: in definition of macro 'uvm_up_read_mmap_sem_out_of_order'
- 554 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:555:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 555 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:1030:5: note: in expansion of macro 'uvm_up_read_mmap_sem_out_of_order'
- 1030 | uvm_up_read_mmap_sem_out_of_order(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c: In function 'uvm_populate_pageable_vma':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:52:37: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 52 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:52:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 52 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:52:37: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 52 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:52:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 52 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:52:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 52 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:52:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 52 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:70:46: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 70 | uvm_record_unlock_mmap_sem_read(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:70:9: note: in expansion of macro 'uvm_record_unlock_mmap_sem_read'
- 70 | uvm_record_unlock_mmap_sem_read(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:75:44: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 75 | uvm_record_lock_mmap_sem_read(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:75:9: note: in expansion of macro 'uvm_record_lock_mmap_sem_read'
- 75 | uvm_record_lock_mmap_sem_read(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c: In function 'uvm_populate_pageable':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:98:37: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 98 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:98:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 98 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:98:37: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 98 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:98:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 98 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:98:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 98 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:98:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 98 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c: In function 'uvm_api_populate_pageable':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:159:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 159 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:159:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 159 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:159:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 159 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:166:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 166 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:166:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 166 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:166:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 166 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c: In function 'cpu_thrashing_stats_init':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:427:45: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 427 | g_cpu_thrashing_stats.procfs_file = NV_CREATE_PROC_FILE(THRASHING_STATS_FILE_NAME,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c: In function 'gpu_thrashing_stats_create':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:482:34: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 482 | gpu_thrashing->procfs_file = NV_CREATE_PROC_FILE(THRASHING_STATS_FILE_NAME,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.o
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_types.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:32,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_types.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:32,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h: In function 'uvm_can_ats_service_faults':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_types.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:32,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.c:26:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-drv.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-utils.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-drv.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-fb.h:30:10: fatal error: drm/drmP.h: No such file or directory
- 30 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-drv.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-crtc.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-utils.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-utils.h:30:10: fatal error: drm/drmP.h: No such file or directory
- 30 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-utils.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-crtc.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-crtc.h:32:10: fatal error: drm/drmP.h: No such file or directory
- 32 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-encoder.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-crtc.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-connector.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-connector.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-connector.h:30:10: fatal error: drm/drmP.h: No such file or directory
- 30 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-connector.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-fb.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-fb.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-fb.h:30:10: fatal error: drm/drmP.h: No such file or directory
- 30 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-fb.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-modeset.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-modeset.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-modeset.h:30:10: fatal error: drm/drmP.h: No such file or directory
- 30 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-modeset.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-prime-fence.o
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-linux.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-helper.o
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-helper.c:34:10: fatal error: drm/drmP.h: No such file or directory
- 34 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-helper.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nv-pci-table.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:33:30: error: field 'base' has incomplete type
- 33 | struct nv_drm_gem_object base;
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:37:5: error: unknown type name 'bool'
- 37 | bool dumb_buffer;
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h: In function 'to_nv_nvkms_memory':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:46:19: error: 'NULL' undeclared (first use in this function)
- 46 | if (nv_gem != NULL) {
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:31:1: note: 'NULL' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
- 30 | #include "nvidia-drm-gem.h"
- +++ |+#include <stddef.h>
- 31 |
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:46:19: note: each undeclared identifier is reported only once for each function it appears in
- 46 | if (nv_gem != NULL) {
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:47:16: error: implicit declaration of function 'container_of' [-Werror=implicit-function-declaration]
- 47 | return container_of(nv_gem, struct nv_drm_gem_nvkms_memory, base);
- | ^~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:47:37: error: expected expression before 'struct'
- 47 | return container_of(nv_gem, struct nv_drm_gem_nvkms_memory, base);
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h: In function 'to_nv_nvkms_memory_const':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:56:19: error: 'NULL' undeclared (first use in this function)
- 56 | if (nv_gem != NULL) {
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:56:19: note: 'NULL' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:57:37: error: expected expression before 'struct'
- 57 | return container_of(nv_gem, struct nv_drm_gem_nvkms_memory, base);
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:67:5: error: unknown type name 'u32'
- 67 | u32 handle)
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:83:36: warning: 'struct drm_mode_create_dumb' declared inside parameter list will not be visible outside of this definition or declaration
- 83 | struct drm_device *dev, struct drm_mode_create_dumb *args);
- | ^~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:83:12: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 83 | struct drm_device *dev, struct drm_mode_create_dumb *args);
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:82:12: warning: 'struct drm_file' declared inside parameter list will not be visible outside of this definition or declaration
- 82 | struct drm_file *file_priv,
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:86:61: warning: 'struct drm_file' declared inside parameter list will not be visible outside of this definition or declaration
- 86 | void *data, struct drm_file *filep);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:85:49: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 85 | int nv_drm_gem_import_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:89:61: warning: 'struct drm_file' declared inside parameter list will not be visible outside of this definition or declaration
- 89 | void *data, struct drm_file *filep);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:88:49: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 88 | int nv_drm_gem_export_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:38:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c: In function 'nvkms_get_usec':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:219:20: error: storage size of 'tv' isn't known
- 219 | struct timeval tv;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:219:20: warning: unused variable 'tv' [-Wunused-variable]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:92:52: error: unknown type name 'uint32_t'
- 92 | struct drm_device *dev, uint32_t handle,
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:93:28: error: unknown type name 'uint64_t'
- 93 | uint64_t *offset);
- | ^~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:35:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c: In function 'nvkms_add_proc_file':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:1006:41: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 1006 | &nv_procfs_nvkms_proc_fops,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:16,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:35:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:96:12: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 96 | struct drm_device *dev,
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c: In function 'nvkms_get_usec':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:224:1: warning: control reaches end of non-void function [-Wreturn-type]
- 224 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:285: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-encoder.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-encoder.h:60:42: warning: 'struct nv_drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 60 | void nv_drm_handle_display_change(struct nv_drm_device *nv_dev,
- | ^~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-encoder.h:63:53: warning: 'struct nv_drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 63 | void nv_drm_handle_dynamic_display_connected(struct nv_drm_device *nv_dev,
- | ^~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-encoder.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-utils.h:30:10: fatal error: drm/drmP.h: No such file or directory
- 30 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:285: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-encoder.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: In function '__nv_drm_gem_nvkms_memory_free':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:34:42: error: dereferencing pointer to incomplete type 'struct nv_drm_gem_object'
- 34 | struct nv_drm_device *nv_dev = nv_gem->nv_dev;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:40:13: error: implicit declaration of function 'iounmap'; did you mean 'do_munmap'? [-Werror=implicit-function-declaration]
- 40 | iounmap(nv_nvkms_memory->pWriteCombinedIORemapAddress);
- | ^~~~~~~
- | do_munmap
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:43:9: error: 'nvKms' undeclared (first use in this function)
- 43 | nvKms->unmapMemory(nv_dev->pDevice,
- | ^~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:43:34: error: dereferencing pointer to incomplete type 'struct nv_drm_device'
- 43 | nvKms->unmapMemory(nv_dev->pDevice,
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:45:28: error: 'NVKMS_KAPI_MAPPING_TYPE_USER' undeclared (first use in this function)
- 45 | NVKMS_KAPI_MAPPING_TYPE_USER,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:53:5: error: implicit declaration of function 'nv_drm_free' [-Werror=implicit-function-declaration]
- 53 | nv_drm_free(nv_nvkms_memory);
- | ^~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:57:12: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 57 | struct drm_device *dev,
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:60:14: error: variable 'nv_gem_nvkms_memory_ops' has initializer but incomplete type
- 60 | const struct nv_drm_gem_object_funcs nv_gem_nvkms_memory_ops = {
- | ^~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:61:6: error: 'const struct nv_drm_gem_object_funcs' has no member named 'free'
- 61 | .free = __nv_drm_gem_nvkms_memory_free,
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:61:13: warning: excess elements in struct initializer
- 61 | .free = __nv_drm_gem_nvkms_memory_free,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:61:13: note: (near initialization for 'nv_gem_nvkms_memory_ops')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:62:6: error: 'const struct nv_drm_gem_object_funcs' has no member named 'prime_dup'
- 62 | .prime_dup = __nv_drm_gem_nvkms_prime_dup,
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:62:18: warning: excess elements in struct initializer
- 62 | .prime_dup = __nv_drm_gem_nvkms_prime_dup,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:62:18: note: (near initialization for 'nv_gem_nvkms_memory_ops')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:67:12: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 67 | struct drm_device *dev, struct drm_mode_create_dumb *args)
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:66:12: warning: 'struct drm_file' declared inside parameter list will not be visible outside of this definition or declaration
- 66 | struct drm_file *file_priv,
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:65:5: error: conflicting types for 'nv_drm_dumb_create'
- 65 | int nv_drm_dumb_create(
- | ^~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:81:5: note: previous declaration of 'nv_drm_dumb_create' was here
- 81 | int nv_drm_dumb_create(
- | ^~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: In function 'nv_drm_dumb_create':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:69:36: error: implicit declaration of function 'to_nv_device' [-Werror=implicit-function-declaration]
- 69 | struct nv_drm_device *nv_dev = to_nv_device(dev);
- | ^~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:69:36: warning: initialization of 'struct nv_drm_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/asm-generic/bug.h:19,
- from /usr/src/linux-headers-5.8.0-kali3-common/arch/x86/include/asm/bug.h:92,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/bug.h:5,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmdebug.h:5,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:9,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-mm.h:80,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:74:33: error: dereferencing pointer to incomplete type 'struct nv_drm_device'
- 74 | nv_dev->pitchAlignment);
- | ^~
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/kernel.h:108:9: note: in definition of macro 'roundup'
- 108 | typeof(y) __y = y; \
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:83:13: error: implicit declaration of function 'nv_drm_calloc' [-Werror=implicit-function-declaration]
- 83 | nv_drm_calloc(1, sizeof(*nv_nvkms_memory))) == NULL) {
- | ^~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:82:26: warning: assignment to 'struct nv_drm_gem_nvkms_memory *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 82 | if ((nv_nvkms_memory =
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:89:13: error: 'nvKms' undeclared (first use in this function)
- 89 | nvKms->allocateMemory(nv_dev->pDevice, args->size)) == NULL) {
- | ^~~~~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:91:9: error: implicit declaration of function 'NV_DRM_DEV_LOG_ERR' [-Werror=implicit-function-declaration]
- 91 | NV_DRM_DEV_LOG_ERR(
- | ^~~~~~~~~~~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.o] Error 1
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:100:27: error: 'NVKMS_KAPI_MAPPING_TYPE_USER' undeclared (first use in this function)
- 100 | NVKMS_KAPI_MAPPING_TYPE_USER,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:285: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:111:53: error: implicit declaration of function 'ioremap_wc' [-Werror=implicit-function-declaration]
- 111 | nv_nvkms_memory->pWriteCombinedIORemapAddress = ioremap_wc(
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:111:51: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 111 | nv_nvkms_memory->pWriteCombinedIORemapAddress = ioremap_wc(
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:117:5: error: implicit declaration of function 'nv_drm_gem_object_init'; did you mean 'debug_object_init'? [-Werror=implicit-function-declaration]
- 117 | nv_drm_gem_object_init(nv_dev,
- | ^~~~~~~~~~~~~~~~~~~~~~
- | debug_object_init
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:122:12: error: implicit declaration of function 'nv_drm_gem_handle_create_drop_reference' [-Werror=implicit-function-declaration]
- 122 | return nv_drm_gem_handle_create_drop_reference(file_priv,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:138:12: warning: 'struct nv_drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 138 | struct nv_drm_device *nv_dev,
- | ^~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:155:61: warning: 'struct drm_file' declared inside parameter list will not be visible outside of this definition or declaration
- 155 | void *data, struct drm_file *filep)
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:154:49: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 154 | int nv_drm_gem_import_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:154:5: error: conflicting types for 'nv_drm_gem_import_nvkms_memory_ioctl'
- 154 | int nv_drm_gem_import_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:85:5: note: previous declaration of 'nv_drm_gem_import_nvkms_memory_ioctl' was here
- 85 | int nv_drm_gem_import_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: In function 'nv_drm_gem_import_nvkms_memory_ioctl':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:157:36: warning: initialization of 'struct nv_drm_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 157 | struct nv_drm_device *nv_dev = to_nv_device(dev);
- | ^~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:163:10: error: implicit declaration of function 'drm_core_check_feature' [-Werror=implicit-function-declaration]
- 163 | if (!drm_core_check_feature(dev, DRIVER_MODESET)) {
- | ^~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:163:38: error: 'DRIVER_MODESET' undeclared (first use in this function); did you mean 'HRTIMER_MODE_SOFT'?
- 163 | if (!drm_core_check_feature(dev, DRIVER_MODESET)) {
- | ^~~~~~~~~~~~~~
- | HRTIMER_MODE_SOFT
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:168:26: warning: assignment to 'struct nv_drm_gem_nvkms_memory *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 168 | if ((nv_nvkms_memory =
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:174:15: error: 'nvKms' undeclared (first use in this function)
- 174 | pMemory = nvKms->importMemory(nv_dev->pDevice,
- | ^~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:174:41: error: dereferencing pointer to incomplete type 'struct nv_drm_device'
- 174 | pMemory = nvKms->importMemory(nv_dev->pDevice,
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:187:33: error: passing argument 1 of '__nv_drm_nvkms_gem_obj_init' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 187 | __nv_drm_nvkms_gem_obj_init(nv_dev, nv_nvkms_memory, pMemory, p->mem_size);
- | ^~~~~~
- | |
- | struct nv_drm_device *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:138:27: note: expected 'struct nv_drm_device *' but argument is of type 'struct nv_drm_device *'
- 138 | struct nv_drm_device *nv_dev,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:201:61: warning: 'struct drm_file' declared inside parameter list will not be visible outside of this definition or declaration
- 201 | void *data, struct drm_file *filep)
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:200:49: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 200 | int nv_drm_gem_export_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:200:5: error: conflicting types for 'nv_drm_gem_export_nvkms_memory_ioctl'
- 200 | int nv_drm_gem_export_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:88:5: note: previous declaration of 'nv_drm_gem_export_nvkms_memory_ioctl' was here
- 88 | int nv_drm_gem_export_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: In function 'nv_drm_gem_export_nvkms_memory_ioctl':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:203:36: warning: initialization of 'struct nv_drm_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 203 | struct nv_drm_device *nv_dev = to_nv_device(dev);
- | ^~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:208:38: error: 'DRIVER_MODESET' undeclared (first use in this function); did you mean 'HRTIMER_MODE_SOFT'?
- 208 | if (!drm_core_check_feature(dev, DRIVER_MODESET)) {
- | ^~~~~~~~~~~~~~
- | HRTIMER_MODE_SOFT
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:219:28: error: implicit declaration of function 'nv_drm_gem_object_nvkms_memory_lookup'; did you mean 'nv_drm_gem_export_nvkms_memory_ioctl'? [-Werror=implicit-function-declaration]
- 219 | if ((nv_nvkms_memory = nv_drm_gem_object_nvkms_memory_lookup(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | nv_drm_gem_export_nvkms_memory_ioctl
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:219:26: warning: assignment to 'struct nv_drm_gem_nvkms_memory *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 219 | if ((nv_nvkms_memory = nv_drm_gem_object_nvkms_memory_lookup(
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:231:10: error: 'nvKms' undeclared (first use in this function)
- 231 | if (!nvKms->exportMemory(nv_dev->pDevice,
- | ^~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:231:36: error: dereferencing pointer to incomplete type 'struct nv_drm_device'
- 231 | if (!nvKms->exportMemory(nv_dev->pDevice,
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:244:9: error: implicit declaration of function 'nv_drm_gem_object_unreference_unlocked' [-Werror=implicit-function-declaration]
- 244 | nv_drm_gem_object_unreference_unlocked(&nv_nvkms_memory->base);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:251:12: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 251 | struct drm_device *dev,
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:250:31: error: conflicting types for '__nv_drm_gem_nvkms_prime_dup'
- 250 | static struct drm_gem_object *__nv_drm_gem_nvkms_prime_dup(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:56:31: note: previous declaration of '__nv_drm_gem_nvkms_prime_dup' was here
- 56 | static struct drm_gem_object *__nv_drm_gem_nvkms_prime_dup(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: In function '__nv_drm_gem_nvkms_prime_dup':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:254:36: warning: initialization of 'struct nv_drm_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 254 | struct nv_drm_device *nv_dev = to_nv_device(dev);
- | ^~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/asm-generic/bug.h:5,
- from /usr/src/linux-headers-5.8.0-kali3-common/arch/x86/include/asm/bug.h:92,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/bug.h:5,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmdebug.h:5,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:9,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-mm.h:80,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:260:44: error: dereferencing pointer to incomplete type 'const struct nv_drm_gem_object'
- 260 | BUG_ON(nv_gem_src == NULL || nv_gem_src->ops != &nv_gem_nvkms_memory_ops);
- | ^~
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
- 78 | # define unlikely(x) __builtin_expect(!!(x), 0)
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:260:5: note: in expansion of macro 'BUG_ON'
- 260 | BUG_ON(nv_gem_src == NULL || nv_gem_src->ops != &nv_gem_nvkms_memory_ops);
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:265:26: warning: assignment to 'struct nv_drm_gem_nvkms_memory *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 265 | if ((nv_nvkms_memory =
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:270:15: error: 'nvKms' undeclared (first use in this function)
- 270 | pMemory = nvKms->dupMemory(nv_dev->pDevice,
- | ^~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:270:38: error: dereferencing pointer to incomplete type 'struct nv_drm_device'
- 270 | pMemory = nvKms->dupMemory(nv_dev->pDevice,
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:271:42: error: dereferencing pointer to incomplete type 'const struct nv_drm_device'
- 271 | nv_dev_src->pDevice,
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:281:33: error: passing argument 1 of '__nv_drm_nvkms_gem_obj_init' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 281 | __nv_drm_nvkms_gem_obj_init(nv_dev,
- | ^~~~~~
- | |
- | struct nv_drm_device *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:138:27: note: expected 'struct nv_drm_device *' but argument is of type 'struct nv_drm_device *'
- 138 | struct nv_drm_device *nv_dev,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:295:35: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 295 | struct drm_device *dev, uint32_t handle,
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:294:35: warning: 'struct drm_file' declared inside parameter list will not be visible outside of this definition or declaration
- 294 | int nv_drm_dumb_map_offset(struct drm_file *file,
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: In function 'nv_drm_dumb_map_offset':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:298:36: warning: initialization of 'struct nv_drm_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 298 | struct nv_drm_device *nv_dev = to_nv_device(dev);
- | ^~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:302:26: warning: assignment to 'struct nv_drm_gem_nvkms_memory *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 302 | if ((nv_nvkms_memory = nv_drm_gem_object_nvkms_memory_lookup(
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:321:11: error: implicit declaration of function 'nv_drm_gem_create_mmap_offset'; did you mean 'nv_drm_dumb_map_offset'? [-Werror=implicit-function-declaration]
- 321 | ret = nv_drm_gem_create_mmap_offset(&nv_nvkms_memory->base, offset);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | nv_drm_dumb_map_offset
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: In function '__nv_drm_vma_fault':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:339:9: error: implicit declaration of function 'to_nv_gem_object' [-Werror=implicit-function-declaration]
- 339 | to_nv_gem_object(gem));
- | ^~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:339:9: warning: passing argument 1 of 'to_nv_nvkms_memory' makes pointer from integer without a cast [-Wint-conversion]
- 339 | to_nv_gem_object(gem));
- | ^~~~~~~~~~~~~~~~~~~~~
- | |
- | int
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:44:31: note: expected 'struct nv_drm_gem_object *' but argument is of type 'int'
- 44 | struct nv_drm_gem_object *nv_gem)
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:346:32: error: implicit declaration of function 'drm_vma_node_start' [-Werror=implicit-function-declaration]
- 346 | page_offset = vmf->pgoff - drm_vma_node_start(&gem->vma_node);
- | ^~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:346:55: error: dereferencing pointer to incomplete type 'struct drm_gem_object'
- 346 | page_offset = vmf->pgoff - drm_vma_node_start(&gem->vma_node);
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:393:14: error: 'drm_gem_vm_open' undeclared here (not in a function); did you mean 'drm_gem_open'?
- 393 | .open = drm_gem_vm_open,
- | ^~~~~~~~~~~~~~~
- | drm_gem_open
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:395:14: error: 'drm_gem_vm_close' undeclared here (not in a function); did you mean 'drm_gem_close'?
- 395 | .close = drm_gem_vm_close,
- | ^~~~~~~~~~~~~~~~
- | drm_gem_close
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:60:38: error: storage size of 'nv_gem_nvkms_memory_ops' isn't known
- 60 | const struct nv_drm_gem_object_funcs nv_gem_nvkms_memory_ops = {
- | ^~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:56:31: warning: '__nv_drm_gem_nvkms_prime_dup' used but never defined
- 56 | static struct drm_gem_object *__nv_drm_gem_nvkms_prime_dup(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:285: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o] Error 1
- make[3]: Target '__build' not remade because of errors.
- make[2]: *** [/usr/src/linux-headers-5.8.0-kali3-common/Makefile:1764: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel] Error 2
- make[2]: Target 'modules' not remade because of errors.
- make[2]: Leaving directory '/usr/src/linux-headers-5.8.0-kali3-amd64'
- make[1]: *** [Makefile:185: __sub-make] Error 2
- make[1]: Target 'modules' not remade because of errors.
- make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-kali3-common'
- make: *** [Makefile:81: modules] Error 2
- -> Error.
- ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details.
- -> The command `cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.8.0-kali3-amd64/source" SYSOUT="/lib/modules/5.8.0-kali3-amd64/build"` failed with the following output:
- make[1]: Entering directory '/usr/src/linux-headers-5.8.0-kali3-common'
- make[2]: Entering directory '/usr/src/linux-headers-5.8.0-kali3-amd64'
- scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead
- SYMLINK /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-kernel.o
- SYMLINK /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nv-modeset-kernel.o
- CONFTEST: INIT_WORK
- CONFTEST: remap_pfn_range
- CONFTEST: hash__remap_4k_pfn
- CONFTEST: follow_pfn
- CONFTEST: vmap
- CONFTEST: set_pages_uc
- CONFTEST: list_is_first
- CONFTEST: set_memory_uc
- CONFTEST: set_memory_array_uc
- CONFTEST: change_page_attr
- CONFTEST: pci_get_class
- CONFTEST: pci_choose_state
- CONFTEST: vm_insert_page
- CONFTEST: acpi_device_id
- CONFTEST: acquire_console_sem
- CONFTEST: console_lock
- CONFTEST: kmem_cache_create
- CONFTEST: on_each_cpu
- CONFTEST: smp_call_function
- CONFTEST: acpi_evaluate_integer
- CONFTEST: ioremap_cache
- CONFTEST: ioremap_wc
- CONFTEST: acpi_walk_namespace
- CONFTEST: pci_domain_nr
- CONFTEST: pci_dma_mapping_error
- CONFTEST: sg_alloc_table
- CONFTEST: sg_init_table
- CONFTEST: pci_get_domain_bus_and_slot
- CONFTEST: get_num_physpages
- CONFTEST: efi_enabled
- CONFTEST: proc_create_data
- CONFTEST: pde_data
- CONFTEST: proc_remove
- CONFTEST: pm_vt_switch_required
- CONFTEST: xen_ioemu_inject_msi
- CONFTEST: phys_to_dma
- CONFTEST: get_dma_ops
- CONFTEST: write_cr4
- CONFTEST: of_get_property
- CONFTEST: of_find_node_by_phandle
- CONFTEST: of_node_to_nid
- CONFTEST: pnv_pci_get_npu_dev
- CONFTEST: of_get_ibm_chip_id
- CONFTEST: for_each_online_node
- CONFTEST: node_end_pfn
- CONFTEST: pci_bus_address
- CONFTEST: pci_stop_and_remove_bus_device
- CONFTEST: pci_remove_bus_device
- CONFTEST: request_threaded_irq
- CONFTEST: register_cpu_notifier
- CONFTEST: cpuhp_setup_state
- CONFTEST: dma_map_resource
- CONFTEST: backlight_device_register
- CONFTEST: register_acpi_notifier
- CONFTEST: timer_setup
- CONFTEST: pci_enable_msix_range
- CONFTEST: compound_order
- CONFTEST: do_gettimeofday
- CONFTEST: dma_direct_map_resource
- CONFTEST: vmf_insert_pfn
- CONFTEST: remap_page_range
- CONFTEST: address_space_init_once
- CONFTEST: kbasename
- CONFTEST: fatal_signal_pending
- CONFTEST: list_cut_position
- CONFTEST: vzalloc
- CONFTEST: wait_on_bit_lock_argument_count
- CONFTEST: bitmap_clear
- CONFTEST: usleep_range
- CONFTEST: radix_tree_empty
- CONFTEST: radix_tree_replace_slot
- CONFTEST: pnv_npu2_init_context
- CONFTEST: drm_dev_unref
- CONFTEST: drm_reinit_primary_mode_group
- CONFTEST: get_user_pages_remote
- CONFTEST: get_user_pages
- CONFTEST: drm_gem_object_lookup
- CONFTEST: drm_atomic_state_ref_counting
- CONFTEST: drm_driver_has_gem_prime_res_obj
- CONFTEST: drm_atomic_helper_connector_dpms
- CONFTEST: drm_connector_funcs_have_mode_in_name
- CONFTEST: drm_framebuffer_get
- CONFTEST: drm_gem_object_get
- CONFTEST: drm_dev_put
- CONFTEST: is_export_symbol_gpl_of_node_to_nid
- CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
- CONFTEST: is_export_symbol_present_swiotlb_dma_ops
- CONFTEST: i2c_adapter
- CONFTEST: pm_message_t
- CONFTEST: irq_handler_t
- CONFTEST: acpi_device_ops
- CONFTEST: acpi_op_remove
- CONFTEST: outer_flush_all
- CONFTEST: proc_dir_entry
- CONFTEST: scatterlist
- CONFTEST: sg_table
- CONFTEST: file_operations
- CONFTEST: vm_operations_struct
- CONFTEST: atomic_long_type
- CONFTEST: file_inode
- CONFTEST: task_struct
- CONFTEST: kuid_t
- CONFTEST: dma_ops
- CONFTEST: swiotlb_dma_ops
- CONFTEST: dma_map_ops
- CONFTEST: noncoherent_swiotlb_dma_ops
- CONFTEST: vm_fault_present
- CONFTEST: vm_fault_has_address
- CONFTEST: backlight_properties_type
- CONFTEST: vmbus_channel_has_ringbuffer_page
- CONFTEST: kmem_cache_has_kobj_remove_work
- CONFTEST: sysfs_slab_unlink
- CONFTEST: fault_flags
- CONFTEST: atomic64_type
- CONFTEST: address_space
- CONFTEST: backing_dev_info
- CONFTEST: mm_context_t
- CONFTEST: vm_ops_fault_removed_vma_arg
- CONFTEST: node_states_n_memory
- CONFTEST: drm_bus_present
- CONFTEST: drm_bus_has_bus_type
- CONFTEST: drm_bus_has_get_irq
- CONFTEST: drm_bus_has_get_name
- CONFTEST: drm_driver_has_legacy_dev_list
- CONFTEST: drm_driver_has_set_busid
- CONFTEST: drm_crtc_state_has_connectors_changed
- CONFTEST: drm_init_function_args
- CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
- CONFTEST: drm_helper_mode_fill_fb_struct
- CONFTEST: drm_master_drop_has_from_release_arg
- CONFTEST: drm_driver_unload_has_int_return_type
- CONFTEST: kref_has_refcount_of_type_refcount_t
- CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
- CONFTEST: drm_crtc_helper_funcs_has_atomic_enable
- CONFTEST: drm_mode_object_find_has_file_priv_arg
- CONFTEST: dma_buf_owner
- CONFTEST: drm_connector_list_iter
- CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
- CONFTEST: drm_driver_prime_flag_present
- CONFTEST: dom0_kernel_present
- CONFTEST: nvidia_vgpu_hyperv_available
- CONFTEST: nvidia_vgpu_kvm_build
- CONFTEST: nvidia_grid_build
- CONFTEST: drm_available
- CONFTEST: drm_atomic_available
- CONFTEST: is_export_symbol_gpl_refcount_inc
- CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:14:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:13:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:13:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o] Error 1
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o] Error 1
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o] Error 1
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:285: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 255 | if (NV_ALLOW_CACHING(memory_type))
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:257:9: note: here
- 257 | default:
- | ^~~~~~~
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:14:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o] Error 1
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_add_text_file':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1026:5: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1026 | NV_CREATE_PROC_FILE(filename, parent, text_file, (void *)text);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c: In function 'nv_register_procfs':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1080:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1080 | entry = NV_CREATE_PROC_FILE("params", proc_nvidia, params, NULL);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1084:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1084 | entry = NV_CREATE_PROC_FILE("registry", proc_nvidia, registry, NULL);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1105:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1105 | entry = NV_CREATE_PROC_FILE("version", proc_nvidia, version, NULL);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_add_gpu':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1147:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1147 | entry = NV_CREATE_PROC_FILE("information", proc_nvidia_gpu, gpu_info,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1152:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1152 | entry = NV_CREATE_PROC_FILE("registry", proc_nvidia_gpu, registry, nv);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1158:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1158 | entry = NV_CREATE_PROC_FILE("exercise_error_forwarding", proc_nvidia_gpu,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1166:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1166 | entry = NV_CREATE_PROC_FILE("unbindLock", proc_nvidia_gpu, unbind_lock, nv);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1173:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1173 | entry = NV_CREATE_PROC_FILE("numa_status", proc_nvidia_gpu, numa_status,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1178:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1178 | entry = NV_CREATE_PROC_FILE("offline_pages", proc_nvidia_gpu, offline_pages,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c: In function 'nv_set_memory_array_type':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:86:13: error: implicit declaration of function 'set_memory_array_uc'; did you mean 'set_pages_array_uc'? [-Werror=implicit-function-declaration]
- 86 | set_memory_array_uc(pages, num_pages);
- | ^~~~~~~~~~~~~~~~~~~
- | set_pages_array_uc
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:89:13: error: implicit declaration of function 'set_memory_array_wb'; did you mean 'set_pages_array_wb'? [-Werror=implicit-function-declaration]
- 89 | set_memory_array_wb(pages, num_pages);
- | ^~~~~~~~~~~~~~~~~~~
- | set_pages_array_wb
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pci-table.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-kthread-q.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:17:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function 'os_get_current_time':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:432:20: error: storage size of 'tm' isn't known
- 432 | struct timeval tm;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:432:20: warning: unused variable 'tm' [-Wunused-variable]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function 'os_get_current_tick':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:446:21: error: storage size of 'ts' isn't known
- 446 | struct timespec ts;
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c: In function 'os_lookup_user_io_memory':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:47:20: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 47 | down_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:80:18: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 80 | up_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c: In function 'os_lock_user_pages':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:118:20: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 118 | down_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:121:18: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 121 | up_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:448:5: error: implicit declaration of function 'jiffies_to_timespec'; did you mean 'jiffies_to_timespec64'? [-Werror=implicit-function-declaration]
- 448 | jiffies_to_timespec(jiffies, &ts);
- | ^~~~~~~~~~~~~~~~~~~
- | jiffies_to_timespec64
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:446:21: warning: unused variable 'ts' [-Wunused-variable]
- 446 | struct timespec ts;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function 'os_delay':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:20: error: storage size of 'tm_end' isn't known
- 558 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:28: error: storage size of 'tm_aux' isn't known
- 558 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:28: warning: unused variable 'tm_aux' [-Wunused-variable]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:20: warning: unused variable 'tm_end' [-Wunused-variable]
- 558 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-kthread-q-selftest.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function '_os_ipmi_receive_resp':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:1917:29: error: storage size of 'tv' isn't known
- 1917 | struct timeval tv;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:1917:29: warning: unused variable 'tv' [-Wunused-variable]
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o] Error 1
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o] Error 1
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:21:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:21:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:21:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:285: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/nvstatus.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/nvCpuUuid.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:32:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nvlink_permissions_init':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:105:26: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 105 | nvlink_permissions = NV_CREATE_PROC_FILE("permissions",
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:506:18: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 506 | const struct timeval *a,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nv_timer_less_than':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:510:14: error: dereferencing pointer to incomplete type 'const struct timeval'
- 510 | return (a->tv_sec == b->tv_sec) ? (a->tv_usec < b->tv_usec)
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:516:18: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 516 | const struct timeval *a,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nv_timeradd':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:521:11: error: dereferencing pointer to incomplete type 'struct timeval'
- 521 | result->tv_sec = a->tv_sec + b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:521:23: error: dereferencing pointer to incomplete type 'const struct timeval'
- 521 | result->tv_sec = a->tv_sec + b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:532:18: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 532 | const struct timeval *a,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nv_timersub':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:537:11: error: dereferencing pointer to incomplete type 'struct timeval'
- 537 | result->tv_sec = a->tv_sec - b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:537:23: error: dereferencing pointer to incomplete type 'const struct timeval'
- 537 | result->tv_sec = a->tv_sec - b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nvlink_sleep':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:20: error: storage size of 'tm_end' isn't known
- 554 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:28: error: storage size of 'tm_aux' isn't known
- 554 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:28: warning: unused variable 'tm_aux' [-Wunused-variable]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:20: warning: unused variable 'tm_end' [-Wunused-variable]
- 554 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c: In function 'nvswitch_permissions_init':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:324:28: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 324 | nvswitch_permissions = NV_CREATE_PROC_FILE("permissions",
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:16,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:26:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c: In function 'nvswitch_os_get_platform_time':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1562:21: error: storage size of 'ts' isn't known
- 1562 | struct timespec ts;
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1564:5: error: implicit declaration of function 'getnstimeofday'; did you mean 'efi_gettimeofday'? [-Werror=implicit-function-declaration]
- 1564 | getnstimeofday(&ts);
- | ^~~~~~~~~~~~~~
- | efi_gettimeofday
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1565:21: error: implicit declaration of function 'timespec_to_ns'; did you mean 'timespec64_to_ns'? [-Werror=implicit-function-declaration]
- 1565 | return ((NvU64) timespec_to_ns(&ts));
- | ^~~~~~~~~~~~~~
- | timespec64_to_ns
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1562:21: warning: unused variable 'ts' [-Wunused-variable]
- 1562 | struct timespec ts;
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_utils.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1566:1: warning: control reaches end of non-void function [-Wreturn-type]
- 1566 | }
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c: In function 'uvm_vm_open_managed':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:301:50: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 301 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:301:5: note: in expansion of macro 'uvm_record_lock_mmap_sem_write'
- 301 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:350:52: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 350 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:350:5: note: in expansion of macro 'uvm_record_unlock_mmap_sem_write'
- 350 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c: In function 'uvm_vm_close_managed':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:360:54: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 360 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:360:9: note: in expansion of macro 'uvm_record_lock_mmap_sem_write'
- 360 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:390:56: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 390 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:390:9: note: in expansion of macro 'uvm_record_unlock_mmap_sem_write'
- 390 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c: In function 'uvm_vm_fault':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c: In function 'map_user_pages':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:418:48: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 418 | uvm_record_lock_mmap_sem_read(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:418:5: note: in expansion of macro 'uvm_record_lock_mmap_sem_read'
- 418 | uvm_record_lock_mmap_sem_read(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:258:29: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 258 | down_read(¤t->mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:260:27: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 260 | up_read(¤t->mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:478:50: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 478 | uvm_record_unlock_mmap_sem_read(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:478:5: note: in expansion of macro 'uvm_record_unlock_mmap_sem_read'
- 478 | uvm_record_unlock_mmap_sem_read(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c: In function 'uvm_vm_open_semaphore_pool':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:543:50: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 543 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:543:5: note: in expansion of macro 'uvm_record_lock_mmap_sem_write'
- 543 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:581:52: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 581 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:581:5: note: in expansion of macro 'uvm_record_unlock_mmap_sem_write'
- 581 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c: In function 'uvm_vm_close_semaphore_pool':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:591:54: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 591 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:591:9: note: in expansion of macro 'uvm_record_lock_mmap_sem_write'
- 591 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:600:56: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 600 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:600:9: note: in expansion of macro 'uvm_record_unlock_mmap_sem_write'
- 600 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c: In function 'uvm_mmap':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:626:50: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 626 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:626:5: note: in expansion of macro 'uvm_record_lock_mmap_sem_write'
- 626 | uvm_record_lock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:712:52: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 712 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:712:5: note: in expansion of macro 'uvm_record_unlock_mmap_sem_write'
- 712 | uvm_record_unlock_mmap_sem_write(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c: In function 'uvm8_initialize':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:853:43: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 853 | uvm_down_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:560:16: note: in definition of macro 'uvm_down_write_mmap_sem'
- 560 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:853:43: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 853 | uvm_down_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:560:34: note: in definition of macro 'uvm_down_write_mmap_sem'
- 560 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:562:20: warning: passing argument 1 of 'down_write' makes pointer from integer without a cast [-Wint-conversion]
- 562 | down_write(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:853:5: note: in expansion of macro 'uvm_down_write_mmap_sem'
- 853 | uvm_down_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:136:45: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 136 | extern void down_write(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:870:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 870 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:566:16: note: in definition of macro 'uvm_up_write_mmap_sem'
- 566 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:870:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 870 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:566:34: note: in definition of macro 'uvm_up_write_mmap_sem'
- 566 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:567:18: warning: passing argument 1 of 'up_write' makes pointer from integer without a cast [-Wint-conversion]
- 567 | up_write(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:870:5: note: in expansion of macro 'uvm_up_write_mmap_sem'
- 870 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:152:43: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 152 | extern void up_write(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_procfs.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_isr.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c: In function 'init_procfs_files':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:428:29: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 428 | gpu->procfs.info_file = NV_CREATE_PROC_FILE("info", gpu->procfs.dir, gpu_info, (void *)gpu);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:436:36: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 436 | gpu->procfs.fault_stats_file = NV_CREATE_PROC_FILE("fault_stats", gpu->procfs.dir, gpu_fault_stats, (void *)gpu);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:440:40: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 440 | gpu->procfs.access_counters_file = NV_CREATE_PROC_FILE("access_counters", gpu->procfs.dir, gpu_access_counters, (void *)gpu);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c: In function 'mm_read64':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:536:33: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 536 | uvm_down_read_mmap_sem(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:536:33: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 536 | uvm_down_read_mmap_sem(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:536:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 536 | uvm_down_read_mmap_sem(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:538:31: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 538 | uvm_up_read_mmap_sem(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:538:31: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 538 | uvm_up_read_mmap_sem(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:538:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 538 | uvm_up_read_mmap_sem(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space_mm.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c: In function 'uvm_va_space_unregister_gpu':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:755:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 755 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:755:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 755 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:755:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 755 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:780:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 780 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:780:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 780 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:780:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 780 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c: In function 'uvm_va_space_register_gpu_va_space':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1249:43: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1249 | uvm_down_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:560:16: note: in definition of macro 'uvm_down_write_mmap_sem'
- 560 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1249:43: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1249 | uvm_down_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:560:34: note: in definition of macro 'uvm_down_write_mmap_sem'
- 560 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:562:20: warning: passing argument 1 of 'down_write' makes pointer from integer without a cast [-Wint-conversion]
- 562 | down_write(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1249:5: note: in expansion of macro 'uvm_down_write_mmap_sem'
- 1249 | uvm_down_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:136:45: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 136 | extern void down_write(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1302:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1302 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:566:16: note: in definition of macro 'uvm_up_write_mmap_sem'
- 566 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1302:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1302 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:566:34: note: in definition of macro 'uvm_up_write_mmap_sem'
- 566 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:567:18: warning: passing argument 1 of 'up_write' makes pointer from integer without a cast [-Wint-conversion]
- 567 | up_write(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1302:5: note: in expansion of macro 'uvm_up_write_mmap_sem'
- 1302 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:152:43: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 152 | extern void up_write(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1320:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1320 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:566:16: note: in definition of macro 'uvm_up_write_mmap_sem'
- 566 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1320:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1320 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:566:34: note: in definition of macro 'uvm_up_write_mmap_sem'
- 566 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:567:18: warning: passing argument 1 of 'up_write' makes pointer from integer without a cast [-Wint-conversion]
- 567 | up_write(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1320:5: note: in expansion of macro 'uvm_up_write_mmap_sem'
- 1320 | uvm_up_write_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:152:43: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 152 | extern void up_write(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c: In function 'uvm_va_space_unregister_gpu_va_space':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1407:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1407 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1407:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1407 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1407:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 1407 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1431:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1431 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1431:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1431 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:1431:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 1431 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c: In function 'uvm_mem_map_cpu_to_sysmem_user':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:484:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 484 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:484:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 484 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:484:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 484 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:484:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 484 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:484:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 484 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:484:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 484 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c: In function 'uvm_mem_map_cpu_to_vidmem_user':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:508:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 508 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:508:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 508 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:508:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 508 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:508:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 508 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:508:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 508 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:508:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 508 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c: In function 'manager_create_procfs':
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:1212:38: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1212 | manager->procfs.pending_pushes = NV_CREATE_PROC_FILE("pending_pushes", gpu->procfs.dir, manager_pending_pushes, (void *)manager);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c: In function 'channel_create_procfs':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:1253:28: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1253 | channel->procfs.info = NV_CREATE_PROC_FILE("info", channel->procfs.dir, channel_info, (void *)channel);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:1257:30: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1257 | channel->procfs.pushes = NV_CREATE_PROC_FILE("pushes", channel->procfs.dir, channel_pushes, (void *)channel);
- | ^~~~~~~~~~~~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c: In function 'uvm8_test_va_range_info':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:1766:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1766 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:1766:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1766 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:1766:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 1766 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:1827:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1827 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:1827:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1827 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:1827:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 1827 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c: In function 'block_map_cpu_page_to':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:6420:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 6420 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:6420:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 6420 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:6420:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 6420 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:6420:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 6420 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:6420:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 6420 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:6420:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 6420 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c: In function 'uvm8_test_change_pte_mapping':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10482:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10482 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10482:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10482 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10482:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 10482 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10565:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10565 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10565:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10565 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10565:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 10565 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c: In function 'uvm8_test_va_block_info':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10580:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10580 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10580:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10580 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10580:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 10580 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10598:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10598 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10598:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10598 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10598:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 10598 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c: In function 'uvm8_test_va_residency_info':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10614:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10614 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10614:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10614 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10614:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 10614 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10739:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10739 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10739:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 10739 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:10739:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 10739 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h: In function 'uvm_can_ats_service_faults':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h: In function 'uvm_can_ats_service_faults':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c: In function 'service_fault':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:506:50: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 506 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:506:50: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 506 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:506:9: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 506 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:557:48: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 557 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:557:48: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 557 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:557:9: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 557 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c: In function 'service_fault_batch':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1433:60: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1433 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1433:60: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1433 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1433:21: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 1433 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1452:58: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1452 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1452:58: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1452 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1452:17: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 1452 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1558:52: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1558 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1558:52: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1558 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:1558:13: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 1558 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.h:26,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.h:26,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c: In function 'service_phys_single_va_block':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:1183:54: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1183 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:1183:54: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1183 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:1183:13: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 1183 | uvm_down_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:1225:48: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1225 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:1225:48: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1225 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:1225:9: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 1225 | uvm_up_read_mmap_sem(&va_space_mm->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv_uvm_interface.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_access_counters.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.c:26:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal_types.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tlb_batch.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c: In function 'create_procfs':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:54:36: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 54 | pushbuffer->procfs.info_file = NV_CREATE_PROC_FILE("pushbuffer", gpu->procfs.dir, pushbuffer_info, (void *)pushbuffer);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pushbuffer.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_thread_context.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_ce.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_host.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kepler_mmu.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_maxwell_host.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_ce.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_host.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_mmu.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.c:26:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_mmu.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_host.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:285: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.c:26:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_mmu.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_turing_host.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c: In function 'uvm_is_valid_vma_range':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:42:46: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:42:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:42:46: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:42:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:42:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:42:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c: In function 'uvm_api_set_preferred_location':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:235:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 235 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:235:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 235 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:235:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 235 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:308:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 308 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:308:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 308 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:308:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 308 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c: In function 'uvm_api_unset_preferred_location':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:320:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 320 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:320:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 320 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:320:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 320 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:331:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 331 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:331:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 331 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:331:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 331 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c: In function 'accessed_by_set':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:412:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 412 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:412:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 412 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:412:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 412 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:476:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 476 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:476:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 476 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:476:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 476 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c: In function 'read_duplication_set':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:659:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 659 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:659:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 659 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:659:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 659 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:713:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 713 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:713:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 713 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:713:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 713 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_policy.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:33,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:33,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c: In function 'uvm_migrate':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:600:46: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 600 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:600:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 600 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:600:46: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 600 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:600:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 600 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:600:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 600 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:600:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 600 | uvm_assert_mmap_sem_locked(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c: In function 'uvm_api_migrate':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:857:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 857 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:857:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 857 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:857:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 857 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:939:53: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 939 | uvm_up_read_mmap_sem_out_of_order(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:554:16: note: in definition of macro 'uvm_up_read_mmap_sem_out_of_order'
- 554 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:939:53: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 939 | uvm_up_read_mmap_sem_out_of_order(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:554:34: note: in definition of macro 'uvm_up_read_mmap_sem_out_of_order'
- 554 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:555:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 555 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:939:5: note: in expansion of macro 'uvm_up_read_mmap_sem_out_of_order'
- 939 | uvm_up_read_mmap_sem_out_of_order(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c: In function 'uvm_api_migrate_range_group':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:985:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 985 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:985:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 985 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:985:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 985 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:1030:53: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1030 | uvm_up_read_mmap_sem_out_of_order(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:554:16: note: in definition of macro 'uvm_up_read_mmap_sem_out_of_order'
- 554 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:1030:53: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 1030 | uvm_up_read_mmap_sem_out_of_order(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:554:34: note: in definition of macro 'uvm_up_read_mmap_sem_out_of_order'
- 554 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:555:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 555 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:1030:5: note: in expansion of macro 'uvm_up_read_mmap_sem_out_of_order'
- 1030 | uvm_up_read_mmap_sem_out_of_order(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c: In function 'uvm_populate_pageable_vma':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:52:37: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 52 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:52:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 52 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:52:37: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 52 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:52:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 52 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:52:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 52 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:52:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 52 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:70:46: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 70 | uvm_record_unlock_mmap_sem_read(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:70:9: note: in expansion of macro 'uvm_record_unlock_mmap_sem_read'
- 70 | uvm_record_unlock_mmap_sem_read(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:75:44: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 75 | uvm_record_lock_mmap_sem_read(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:75:9: note: in expansion of macro 'uvm_record_lock_mmap_sem_read'
- 75 | uvm_record_lock_mmap_sem_read(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c: In function 'uvm_populate_pageable':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:98:37: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 98 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:98:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 98 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:98:37: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 98 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:98:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 98 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:98:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 98 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:98:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 98 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c: In function 'uvm_api_populate_pageable':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:159:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 159 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:16: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:159:42: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 159 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:542:34: note: in definition of macro 'uvm_down_read_mmap_sem'
- 542 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:544:19: warning: passing argument 1 of 'down_read' makes pointer from integer without a cast [-Wint-conversion]
- 544 | down_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:159:5: note: in expansion of macro 'uvm_down_read_mmap_sem'
- 159 | uvm_down_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:125:44: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 125 | extern void down_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:166:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 166 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:16: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:166:40: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 166 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:548:34: note: in definition of macro 'uvm_up_read_mmap_sem'
- 548 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:549:17: warning: passing argument 1 of 'up_read' makes pointer from integer without a cast [-Wint-conversion]
- 549 | up_read(_sem); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:166:5: note: in expansion of macro 'uvm_up_read_mmap_sem'
- 166 | uvm_up_read_mmap_sem(¤t->mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:147:42: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 147 | extern void up_read(struct rw_semaphore *sem);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_populate_pageable.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hmm.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_migrate_pageable.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_space.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_map_external.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_user_channel.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_heuristics.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c: In function 'cpu_thrashing_stats_init':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:427:45: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 427 | g_cpu_thrashing_stats.procfs_file = NV_CREATE_PROC_FILE(THRASHING_STATS_FILE_NAME,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c: In function 'gpu_thrashing_stats_create':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:482:34: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 482 | gpu_thrashing->procfs_file = NV_CREATE_PROC_FILE(THRASHING_STATS_FILE_NAME,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_thrashing.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_prefetch.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.o
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_ibm.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test_rng.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_types.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:32,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_types.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:32,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h: In function 'uvm_can_ats_service_faults':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:41: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.h:42:9: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 42 | uvm_assert_mmap_sem_locked(&mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pte_batch.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_types.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tools.h:32,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_tree_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ats_faults.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_allocator_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_api.h:30,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_hal.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_rm_mem_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.c:26:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mem_test.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_page_tree_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:331:1: warning: control reaches end of non-void function [-Wreturn-type]
- 331 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_tracker_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_push_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_channel_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_ce_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_utils_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_kvmalloc.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.c:25:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_gpu.h:55,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:37,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_global.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h: In function 'uvm_va_range_vma_check':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:14: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:45: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:533:32: note: in definition of macro 'uvm_assert_mmap_sem_locked_mode'
- 533 | typeof(mmap_sem) _sem = (mmap_sem); \
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:34: warning: passing argument 1 of 'rwsem_is_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm_types.h:11,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmzone.h:21,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/gfp.h:6,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:10,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-pgprot.h:17,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:20,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/rwsem.h:57:56: note: expected 'struct rw_semaphore *' but argument is of type 'int'
- 57 | static inline int rwsem_is_locked(struct rw_semaphore *sem)
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_processors.h:28,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:29,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:69: warning: passing argument 1 of 'uvm_check_locked' makes pointer from integer without a cast [-Wint-conversion]
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~
- | |
- | int
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:126:47: note: in definition of macro 'UVM_IGNORE_EXPR'
- 126 | #define UVM_IGNORE_EXPR(expr) ((void)sizeof(!(expr)))
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:156:26: note: in expansion of macro '_UVM_ASSERT_MSG'
- 156 | #define UVM_ASSERT(expr) _UVM_ASSERT_MSG(expr, #expr, "\n")
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:534:7: note: in expansion of macro 'UVM_ASSERT'
- 534 | UVM_ASSERT(rwsem_is_locked(_sem) && uvm_check_locked_mmap_sem(_sem, (mode))); \
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:537:53: note: in expansion of macro 'uvm_assert_mmap_sem_locked_mode'
- 537 | #define uvm_assert_mmap_sem_locked(mmap_sem) uvm_assert_mmap_sem_locked_mode((mmap_sem), UVM_LOCK_MODE_ANY)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_range.h:679:5: note: in expansion of macro 'uvm_assert_mmap_sem_locked'
- 679 | uvm_assert_mmap_sem_locked(&vma->vm_mm->mmap_sem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_lock.h:502:38: note: expected 'void *' but argument is of type 'int'
- 502 | static bool uvm_check_locked(void *lock, uvm_lock_mode_t mode)
- | ~~~~~~^~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_events_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_perf_module_test.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_gpu.h:31,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-drv.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-utils.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-drv.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-fb.h:30:10: fatal error: drm/drmP.h: No such file or directory
- 30 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-drv.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-crtc.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-utils.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-utils.h:30:10: fatal error: drm/drmP.h: No such file or directory
- 30 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-utils.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-crtc.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-crtc.h:32:10: fatal error: drm/drmP.h: No such file or directory
- 32 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-encoder.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-crtc.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:38,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-connector.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-connector.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-connector.h:30:10: fatal error: drm/drmP.h: No such file or directory
- 30 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-connector.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-fb.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-fb.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-fb.h:30:10: fatal error: drm/drmP.h: No such file or directory
- 30 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-fb.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-modeset.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-modeset.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-modeset.h:30:10: fatal error: drm/drmP.h: No such file or directory
- 30 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-modeset.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-prime-fence.o
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-linux.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-helper.o
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-helper.c:34:10: fatal error: drm/drmP.h: No such file or directory
- 34 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-helper.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nv-pci-table.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_mmu_test.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:33:30: error: field 'base' has incomplete type
- 33 | struct nv_drm_gem_object base;
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:37:5: error: unknown type name 'bool'
- 37 | bool dumb_buffer;
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h: In function 'to_nv_nvkms_memory':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:46:19: error: 'NULL' undeclared (first use in this function)
- 46 | if (nv_gem != NULL) {
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:31:1: note: 'NULL' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
- 30 | #include "nvidia-drm-gem.h"
- +++ |+#include <stddef.h>
- 31 |
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:46:19: note: each undeclared identifier is reported only once for each function it appears in
- 46 | if (nv_gem != NULL) {
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:47:16: error: implicit declaration of function 'container_of' [-Werror=implicit-function-declaration]
- 47 | return container_of(nv_gem, struct nv_drm_gem_nvkms_memory, base);
- | ^~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:47:37: error: expected expression before 'struct'
- 47 | return container_of(nv_gem, struct nv_drm_gem_nvkms_memory, base);
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h: In function 'to_nv_nvkms_memory_const':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:56:19: error: 'NULL' undeclared (first use in this function)
- 56 | if (nv_gem != NULL) {
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:56:19: note: 'NULL' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:57:37: error: expected expression before 'struct'
- 57 | return container_of(nv_gem, struct nv_drm_gem_nvkms_memory, base);
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:67:5: error: unknown type name 'u32'
- 67 | u32 handle)
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:83:36: warning: 'struct drm_mode_create_dumb' declared inside parameter list will not be visible outside of this definition or declaration
- 83 | struct drm_device *dev, struct drm_mode_create_dumb *args);
- | ^~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:83:12: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 83 | struct drm_device *dev, struct drm_mode_create_dumb *args);
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:82:12: warning: 'struct drm_file' declared inside parameter list will not be visible outside of this definition or declaration
- 82 | struct drm_file *file_priv,
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:86:61: warning: 'struct drm_file' declared inside parameter list will not be visible outside of this definition or declaration
- 86 | void *data, struct drm_file *filep);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:85:49: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 85 | int nv_drm_gem_import_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:89:61: warning: 'struct drm_file' declared inside parameter list will not be visible outside of this definition or declaration
- 89 | void *data, struct drm_file *filep);
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:88:49: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 88 | int nv_drm_gem_export_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:38:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c: In function 'nvkms_get_usec':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:219:20: error: storage size of 'tv' isn't known
- 219 | struct timeval tv;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:219:20: warning: unused variable 'tv' [-Wunused-variable]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:92:52: error: unknown type name 'uint32_t'
- 92 | struct drm_device *dev, uint32_t handle,
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:93:28: error: unknown type name 'uint64_t'
- 93 | uint64_t *offset);
- | ^~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:35:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c: In function 'nvkms_add_proc_file':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:1006:41: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 1006 | &nv_procfs_nvkms_proc_fops,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:16,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:35:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:96:12: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 96 | struct drm_device *dev,
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c: In function 'nvkms_get_usec':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.c:224:1: warning: control reaches end of non-void function [-Wreturn-type]
- 224 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-modeset/nvidia-modeset-linux.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_common.h:48,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:41,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:285: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_test.h:27,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h: In function 'NV_GETTIME':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:12: error: variable 'ts' has initializer but incomplete type
- 325 | struct timespec ts = {0};
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: warning: excess elements in struct initializer
- 325 | struct timespec ts = {0};
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:27: note: (near initialization for 'ts')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: error: storage size of 'ts' isn't known
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-encoder.c:28:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-encoder.h:60:42: warning: 'struct nv_drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 60 | void nv_drm_handle_display_change(struct nv_drm_device *nv_dev,
- | ^~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-encoder.h:63:53: warning: 'struct nv_drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 63 | void nv_drm_handle_dynamic_display_connected(struct nv_drm_device *nv_dev,
- | ^~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-encoder.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-utils.h:30:10: fatal error: drm/drmP.h: No such file or directory
- 30 | #include <drm/drmP.h>
- | ^~~~~~~~~~~~
- compilation terminated.
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:285: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-encoder.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:327:5: error: implicit declaration of function 'getrawmonotonic' [-Werror=implicit-function-declaration]
- 327 | getrawmonotonic(&ts);
- | ^~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm_linux.h:325:21: warning: unused variable 'ts' [-Wunused-variable]
- 325 | struct timespec ts = {0};
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: In function '__nv_drm_gem_nvkms_memory_free':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:34:42: error: dereferencing pointer to incomplete type 'struct nv_drm_gem_object'
- 34 | struct nv_drm_device *nv_dev = nv_gem->nv_dev;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:40:13: error: implicit declaration of function 'iounmap'; did you mean 'do_munmap'? [-Werror=implicit-function-declaration]
- 40 | iounmap(nv_nvkms_memory->pWriteCombinedIORemapAddress);
- | ^~~~~~~
- | do_munmap
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:43:9: error: 'nvKms' undeclared (first use in this function)
- 43 | nvKms->unmapMemory(nv_dev->pDevice,
- | ^~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:43:34: error: dereferencing pointer to incomplete type 'struct nv_drm_device'
- 43 | nvKms->unmapMemory(nv_dev->pDevice,
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:45:28: error: 'NVKMS_KAPI_MAPPING_TYPE_USER' undeclared (first use in this function)
- 45 | NVKMS_KAPI_MAPPING_TYPE_USER,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:53:5: error: implicit declaration of function 'nv_drm_free' [-Werror=implicit-function-declaration]
- 53 | nv_drm_free(nv_nvkms_memory);
- | ^~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:57:12: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 57 | struct drm_device *dev,
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:60:14: error: variable 'nv_gem_nvkms_memory_ops' has initializer but incomplete type
- 60 | const struct nv_drm_gem_object_funcs nv_gem_nvkms_memory_ops = {
- | ^~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:61:6: error: 'const struct nv_drm_gem_object_funcs' has no member named 'free'
- 61 | .free = __nv_drm_gem_nvkms_memory_free,
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:61:13: warning: excess elements in struct initializer
- 61 | .free = __nv_drm_gem_nvkms_memory_free,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:61:13: note: (near initialization for 'nv_gem_nvkms_memory_ops')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:62:6: error: 'const struct nv_drm_gem_object_funcs' has no member named 'prime_dup'
- 62 | .prime_dup = __nv_drm_gem_nvkms_prime_dup,
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:62:18: warning: excess elements in struct initializer
- 62 | .prime_dup = __nv_drm_gem_nvkms_prime_dup,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:62:18: note: (near initialization for 'nv_gem_nvkms_memory_ops')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:67:12: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 67 | struct drm_device *dev, struct drm_mode_create_dumb *args)
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:66:12: warning: 'struct drm_file' declared inside parameter list will not be visible outside of this definition or declaration
- 66 | struct drm_file *file_priv,
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:65:5: error: conflicting types for 'nv_drm_dumb_create'
- 65 | int nv_drm_dumb_create(
- | ^~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:81:5: note: previous declaration of 'nv_drm_dumb_create' was here
- 81 | int nv_drm_dumb_create(
- | ^~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: In function 'nv_drm_dumb_create':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:69:36: error: implicit declaration of function 'to_nv_device' [-Werror=implicit-function-declaration]
- 69 | struct nv_drm_device *nv_dev = to_nv_device(dev);
- | ^~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:69:36: warning: initialization of 'struct nv_drm_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/asm-generic/bug.h:19,
- from /usr/src/linux-headers-5.8.0-kali3-common/arch/x86/include/asm/bug.h:92,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/bug.h:5,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmdebug.h:5,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:9,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-mm.h:80,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:74:33: error: dereferencing pointer to incomplete type 'struct nv_drm_device'
- 74 | nv_dev->pitchAlignment);
- | ^~
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/kernel.h:108:9: note: in definition of macro 'roundup'
- 108 | typeof(y) __y = y; \
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:83:13: error: implicit declaration of function 'nv_drm_calloc' [-Werror=implicit-function-declaration]
- 83 | nv_drm_calloc(1, sizeof(*nv_nvkms_memory))) == NULL) {
- | ^~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:82:26: warning: assignment to 'struct nv_drm_gem_nvkms_memory *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 82 | if ((nv_nvkms_memory =
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:89:13: error: 'nvKms' undeclared (first use in this function)
- 89 | nvKms->allocateMemory(nv_dev->pDevice, args->size)) == NULL) {
- | ^~~~~
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:91:9: error: implicit declaration of function 'NV_DRM_DEV_LOG_ERR' [-Werror=implicit-function-declaration]
- 91 | NV_DRM_DEV_LOG_ERR(
- | ^~~~~~~~~~~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_va_block_test.o] Error 1
- cc1: some warnings being treated as errors
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:100:27: error: 'NVKMS_KAPI_MAPPING_TYPE_USER' undeclared (first use in this function)
- 100 | NVKMS_KAPI_MAPPING_TYPE_USER,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:285: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-uvm/uvm8_range_group_tree_test.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:111:53: error: implicit declaration of function 'ioremap_wc' [-Werror=implicit-function-declaration]
- 111 | nv_nvkms_memory->pWriteCombinedIORemapAddress = ioremap_wc(
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:111:51: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 111 | nv_nvkms_memory->pWriteCombinedIORemapAddress = ioremap_wc(
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:117:5: error: implicit declaration of function 'nv_drm_gem_object_init'; did you mean 'debug_object_init'? [-Werror=implicit-function-declaration]
- 117 | nv_drm_gem_object_init(nv_dev,
- | ^~~~~~~~~~~~~~~~~~~~~~
- | debug_object_init
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:122:12: error: implicit declaration of function 'nv_drm_gem_handle_create_drop_reference' [-Werror=implicit-function-declaration]
- 122 | return nv_drm_gem_handle_create_drop_reference(file_priv,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:138:12: warning: 'struct nv_drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 138 | struct nv_drm_device *nv_dev,
- | ^~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:155:61: warning: 'struct drm_file' declared inside parameter list will not be visible outside of this definition or declaration
- 155 | void *data, struct drm_file *filep)
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:154:49: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 154 | int nv_drm_gem_import_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:154:5: error: conflicting types for 'nv_drm_gem_import_nvkms_memory_ioctl'
- 154 | int nv_drm_gem_import_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:85:5: note: previous declaration of 'nv_drm_gem_import_nvkms_memory_ioctl' was here
- 85 | int nv_drm_gem_import_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: In function 'nv_drm_gem_import_nvkms_memory_ioctl':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:157:36: warning: initialization of 'struct nv_drm_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 157 | struct nv_drm_device *nv_dev = to_nv_device(dev);
- | ^~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:163:10: error: implicit declaration of function 'drm_core_check_feature' [-Werror=implicit-function-declaration]
- 163 | if (!drm_core_check_feature(dev, DRIVER_MODESET)) {
- | ^~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:163:38: error: 'DRIVER_MODESET' undeclared (first use in this function); did you mean 'HRTIMER_MODE_SOFT'?
- 163 | if (!drm_core_check_feature(dev, DRIVER_MODESET)) {
- | ^~~~~~~~~~~~~~
- | HRTIMER_MODE_SOFT
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:168:26: warning: assignment to 'struct nv_drm_gem_nvkms_memory *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 168 | if ((nv_nvkms_memory =
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:174:15: error: 'nvKms' undeclared (first use in this function)
- 174 | pMemory = nvKms->importMemory(nv_dev->pDevice,
- | ^~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:174:41: error: dereferencing pointer to incomplete type 'struct nv_drm_device'
- 174 | pMemory = nvKms->importMemory(nv_dev->pDevice,
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:187:33: error: passing argument 1 of '__nv_drm_nvkms_gem_obj_init' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 187 | __nv_drm_nvkms_gem_obj_init(nv_dev, nv_nvkms_memory, pMemory, p->mem_size);
- | ^~~~~~
- | |
- | struct nv_drm_device *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:138:27: note: expected 'struct nv_drm_device *' but argument is of type 'struct nv_drm_device *'
- 138 | struct nv_drm_device *nv_dev,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:201:61: warning: 'struct drm_file' declared inside parameter list will not be visible outside of this definition or declaration
- 201 | void *data, struct drm_file *filep)
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:200:49: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 200 | int nv_drm_gem_export_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:200:5: error: conflicting types for 'nv_drm_gem_export_nvkms_memory_ioctl'
- 200 | int nv_drm_gem_export_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:88:5: note: previous declaration of 'nv_drm_gem_export_nvkms_memory_ioctl' was here
- 88 | int nv_drm_gem_export_nvkms_memory_ioctl(struct drm_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: In function 'nv_drm_gem_export_nvkms_memory_ioctl':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:203:36: warning: initialization of 'struct nv_drm_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 203 | struct nv_drm_device *nv_dev = to_nv_device(dev);
- | ^~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:208:38: error: 'DRIVER_MODESET' undeclared (first use in this function); did you mean 'HRTIMER_MODE_SOFT'?
- 208 | if (!drm_core_check_feature(dev, DRIVER_MODESET)) {
- | ^~~~~~~~~~~~~~
- | HRTIMER_MODE_SOFT
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:219:28: error: implicit declaration of function 'nv_drm_gem_object_nvkms_memory_lookup'; did you mean 'nv_drm_gem_export_nvkms_memory_ioctl'? [-Werror=implicit-function-declaration]
- 219 | if ((nv_nvkms_memory = nv_drm_gem_object_nvkms_memory_lookup(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | nv_drm_gem_export_nvkms_memory_ioctl
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:219:26: warning: assignment to 'struct nv_drm_gem_nvkms_memory *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 219 | if ((nv_nvkms_memory = nv_drm_gem_object_nvkms_memory_lookup(
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:231:10: error: 'nvKms' undeclared (first use in this function)
- 231 | if (!nvKms->exportMemory(nv_dev->pDevice,
- | ^~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:231:36: error: dereferencing pointer to incomplete type 'struct nv_drm_device'
- 231 | if (!nvKms->exportMemory(nv_dev->pDevice,
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:244:9: error: implicit declaration of function 'nv_drm_gem_object_unreference_unlocked' [-Werror=implicit-function-declaration]
- 244 | nv_drm_gem_object_unreference_unlocked(&nv_nvkms_memory->base);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:251:12: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 251 | struct drm_device *dev,
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:250:31: error: conflicting types for '__nv_drm_gem_nvkms_prime_dup'
- 250 | static struct drm_gem_object *__nv_drm_gem_nvkms_prime_dup(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:56:31: note: previous declaration of '__nv_drm_gem_nvkms_prime_dup' was here
- 56 | static struct drm_gem_object *__nv_drm_gem_nvkms_prime_dup(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: In function '__nv_drm_gem_nvkms_prime_dup':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:254:36: warning: initialization of 'struct nv_drm_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 254 | struct nv_drm_device *nv_dev = to_nv_device(dev);
- | ^~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/asm-generic/bug.h:5,
- from /usr/src/linux-headers-5.8.0-kali3-common/arch/x86/include/asm/bug.h:92,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/bug.h:5,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mmdebug.h:5,
- from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/mm.h:9,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-mm.h:80,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:260:44: error: dereferencing pointer to incomplete type 'const struct nv_drm_gem_object'
- 260 | BUG_ON(nv_gem_src == NULL || nv_gem_src->ops != &nv_gem_nvkms_memory_ops);
- | ^~
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
- 78 | # define unlikely(x) __builtin_expect(!!(x), 0)
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:260:5: note: in expansion of macro 'BUG_ON'
- 260 | BUG_ON(nv_gem_src == NULL || nv_gem_src->ops != &nv_gem_nvkms_memory_ops);
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:265:26: warning: assignment to 'struct nv_drm_gem_nvkms_memory *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 265 | if ((nv_nvkms_memory =
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:270:15: error: 'nvKms' undeclared (first use in this function)
- 270 | pMemory = nvKms->dupMemory(nv_dev->pDevice,
- | ^~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:270:38: error: dereferencing pointer to incomplete type 'struct nv_drm_device'
- 270 | pMemory = nvKms->dupMemory(nv_dev->pDevice,
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:271:42: error: dereferencing pointer to incomplete type 'const struct nv_drm_device'
- 271 | nv_dev_src->pDevice,
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:281:33: error: passing argument 1 of '__nv_drm_nvkms_gem_obj_init' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 281 | __nv_drm_nvkms_gem_obj_init(nv_dev,
- | ^~~~~~
- | |
- | struct nv_drm_device *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:138:27: note: expected 'struct nv_drm_device *' but argument is of type 'struct nv_drm_device *'
- 138 | struct nv_drm_device *nv_dev,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:295:35: warning: 'struct drm_device' declared inside parameter list will not be visible outside of this definition or declaration
- 295 | struct drm_device *dev, uint32_t handle,
- | ^~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:294:35: warning: 'struct drm_file' declared inside parameter list will not be visible outside of this definition or declaration
- 294 | int nv_drm_dumb_map_offset(struct drm_file *file,
- | ^~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: In function 'nv_drm_dumb_map_offset':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:298:36: warning: initialization of 'struct nv_drm_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 298 | struct nv_drm_device *nv_dev = to_nv_device(dev);
- | ^~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:302:26: warning: assignment to 'struct nv_drm_gem_nvkms_memory *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- 302 | if ((nv_nvkms_memory = nv_drm_gem_object_nvkms_memory_lookup(
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:321:11: error: implicit declaration of function 'nv_drm_gem_create_mmap_offset'; did you mean 'nv_drm_dumb_map_offset'? [-Werror=implicit-function-declaration]
- 321 | ret = nv_drm_gem_create_mmap_offset(&nv_nvkms_memory->base, offset);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | nv_drm_dumb_map_offset
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: In function '__nv_drm_vma_fault':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:339:9: error: implicit declaration of function 'to_nv_gem_object' [-Werror=implicit-function-declaration]
- 339 | to_nv_gem_object(gem));
- | ^~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:339:9: warning: passing argument 1 of 'to_nv_nvkms_memory' makes pointer from integer without a cast [-Wint-conversion]
- 339 | to_nv_gem_object(gem));
- | ^~~~~~~~~~~~~~~~~~~~~
- | |
- | int
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.h:44:31: note: expected 'struct nv_drm_gem_object *' but argument is of type 'int'
- 44 | struct nv_drm_gem_object *nv_gem)
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:346:32: error: implicit declaration of function 'drm_vma_node_start' [-Werror=implicit-function-declaration]
- 346 | page_offset = vmf->pgoff - drm_vma_node_start(&gem->vma_node);
- | ^~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:346:55: error: dereferencing pointer to incomplete type 'struct drm_gem_object'
- 346 | page_offset = vmf->pgoff - drm_vma_node_start(&gem->vma_node);
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:393:14: error: 'drm_gem_vm_open' undeclared here (not in a function); did you mean 'drm_gem_open'?
- 393 | .open = drm_gem_vm_open,
- | ^~~~~~~~~~~~~~~
- | drm_gem_open
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:395:14: error: 'drm_gem_vm_close' undeclared here (not in a function); did you mean 'drm_gem_close'?
- 395 | .close = drm_gem_vm_close,
- | ^~~~~~~~~~~~~~~~
- | drm_gem_close
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:60:38: error: storage size of 'nv_gem_nvkms_memory_ops' isn't known
- 60 | const struct nv_drm_gem_object_funcs nv_gem_nvkms_memory_ops = {
- | ^~~~~~~~~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:56:31: warning: '__nv_drm_gem_nvkms_prime_dup' used but never defined
- 56 | static struct drm_gem_object *__nv_drm_gem_nvkms_prime_dup(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:285: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o] Error 1
- make[3]: Target '__build' not remade because of errors.
- make[2]: *** [/usr/src/linux-headers-5.8.0-kali3-common/Makefile:1764: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel] Error 2
- make[2]: Target 'modules' not remade because of errors.
- make[2]: Leaving directory '/usr/src/linux-headers-5.8.0-kali3-amd64'
- make[1]: *** [Makefile:185: __sub-make] Error 2
- make[1]: Target 'modules' not remade because of errors.
- make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-kali3-common'
- make: *** [Makefile:81: modules] Error 2
- -> Checking to see whether the nvidia kernel module was successfully built
- executing: 'cd ./kernel; /usr/bin/make -k -j8 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.8.0-kali3-amd64/source" SYSOUT="/lib/modules/5.8.0-kali3-amd64/build"'...
- make[1]: Entering directory '/usr/src/linux-headers-5.8.0-kali3-common'
- make[2]: Entering directory '/usr/src/linux-headers-5.8.0-kali3-amd64'
- scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:13:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:14:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:13:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o] Error 1
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 255 | if (NV_ALLOW_CACHING(memory_type))
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:257:9: note: here
- 257 | default:
- | ^~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:14:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_add_text_file':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1026:5: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1026 | NV_CREATE_PROC_FILE(filename, parent, text_file, (void *)text);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c: In function 'nv_register_procfs':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1080:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1080 | entry = NV_CREATE_PROC_FILE("params", proc_nvidia, params, NULL);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1084:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1084 | entry = NV_CREATE_PROC_FILE("registry", proc_nvidia, registry, NULL);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1105:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1105 | entry = NV_CREATE_PROC_FILE("version", proc_nvidia, version, NULL);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_add_gpu':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1147:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1147 | entry = NV_CREATE_PROC_FILE("information", proc_nvidia_gpu, gpu_info,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1152:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1152 | entry = NV_CREATE_PROC_FILE("registry", proc_nvidia_gpu, registry, nv);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1158:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1158 | entry = NV_CREATE_PROC_FILE("exercise_error_forwarding", proc_nvidia_gpu,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1166:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1166 | entry = NV_CREATE_PROC_FILE("unbindLock", proc_nvidia_gpu, unbind_lock, nv);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1173:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1173 | entry = NV_CREATE_PROC_FILE("numa_status", proc_nvidia_gpu, numa_status,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1178:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1178 | entry = NV_CREATE_PROC_FILE("offline_pages", proc_nvidia_gpu, offline_pages,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o] Error 1
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c: In function 'nv_set_memory_array_type':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:86:13: error: implicit declaration of function 'set_memory_array_uc'; did you mean 'set_pages_array_uc'? [-Werror=implicit-function-declaration]
- 86 | set_memory_array_uc(pages, num_pages);
- | ^~~~~~~~~~~~~~~~~~~
- | set_pages_array_uc
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:89:13: error: implicit declaration of function 'set_memory_array_wb'; did you mean 'set_pages_array_wb'? [-Werror=implicit-function-declaration]
- 89 | set_memory_array_wb(pages, num_pages);
- | ^~~~~~~~~~~~~~~~~~~
- | set_pages_array_wb
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:17:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function 'os_get_current_time':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:432:20: error: storage size of 'tm' isn't known
- 432 | struct timeval tm;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:432:20: warning: unused variable 'tm' [-Wunused-variable]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function 'os_get_current_tick':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:446:21: error: storage size of 'ts' isn't known
- 446 | struct timespec ts;
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:448:5: error: implicit declaration of function 'jiffies_to_timespec'; did you mean 'jiffies_to_timespec64'? [-Werror=implicit-function-declaration]
- 448 | jiffies_to_timespec(jiffies, &ts);
- | ^~~~~~~~~~~~~~~~~~~
- | jiffies_to_timespec64
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:446:21: warning: unused variable 'ts' [-Wunused-variable]
- 446 | struct timespec ts;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function 'os_delay':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:20: error: storage size of 'tm_end' isn't known
- 558 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:28: error: storage size of 'tm_aux' isn't known
- 558 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:28: warning: unused variable 'tm_aux' [-Wunused-variable]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:20: warning: unused variable 'tm_end' [-Wunused-variable]
- 558 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c: In function 'os_lookup_user_io_memory':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:47:20: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 47 | down_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:80:18: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 80 | up_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c: In function 'os_lock_user_pages':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:118:20: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 118 | down_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:121:18: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 121 | up_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function '_os_ipmi_receive_resp':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:1917:29: error: storage size of 'tv' isn't known
- 1917 | struct timeval tv;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:1917:29: warning: unused variable 'tv' [-Wunused-variable]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:21:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:21:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:21:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c: In function 'nvswitch_permissions_init':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:324:28: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 324 | nvswitch_permissions = NV_CREATE_PROC_FILE("permissions",
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:16,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:26:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c: In function 'nvswitch_os_get_platform_time':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1562:21: error: storage size of 'ts' isn't known
- 1562 | struct timespec ts;
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1564:5: error: implicit declaration of function 'getnstimeofday'; did you mean 'efi_gettimeofday'? [-Werror=implicit-function-declaration]
- 1564 | getnstimeofday(&ts);
- | ^~~~~~~~~~~~~~
- | efi_gettimeofday
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:32:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nvlink_permissions_init':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:105:26: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 105 | nvlink_permissions = NV_CREATE_PROC_FILE("permissions",
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:506:18: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 506 | const struct timeval *a,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nv_timer_less_than':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:510:14: error: dereferencing pointer to incomplete type 'const struct timeval'
- 510 | return (a->tv_sec == b->tv_sec) ? (a->tv_usec < b->tv_usec)
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:516:18: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 516 | const struct timeval *a,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nv_timeradd':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:521:11: error: dereferencing pointer to incomplete type 'struct timeval'
- 521 | result->tv_sec = a->tv_sec + b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:521:23: error: dereferencing pointer to incomplete type 'const struct timeval'
- 521 | result->tv_sec = a->tv_sec + b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:532:18: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 532 | const struct timeval *a,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nv_timersub':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:537:11: error: dereferencing pointer to incomplete type 'struct timeval'
- 537 | result->tv_sec = a->tv_sec - b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:537:23: error: dereferencing pointer to incomplete type 'const struct timeval'
- 537 | result->tv_sec = a->tv_sec - b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nvlink_sleep':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:20: error: storage size of 'tm_end' isn't known
- 554 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:28: error: storage size of 'tm_aux' isn't known
- 554 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:28: warning: unused variable 'tm_aux' [-Wunused-variable]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:20: warning: unused variable 'tm_end' [-Wunused-variable]
- 554 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1565:21: error: implicit declaration of function 'timespec_to_ns'; did you mean 'timespec64_to_ns'? [-Werror=implicit-function-declaration]
- 1565 | return ((NvU64) timespec_to_ns(&ts));
- | ^~~~~~~~~~~~~~
- | timespec64_to_ns
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1562:21: warning: unused variable 'ts' [-Wunused-variable]
- 1562 | struct timespec ts;
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1566:1: warning: control reaches end of non-void function [-Wreturn-type]
- 1566 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o] Error 1
- make[3]: Target '__build' not remade because of errors.
- make[2]: *** [/usr/src/linux-headers-5.8.0-kali3-common/Makefile:1764: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel] Error 2
- make[2]: Target 'modules' not remade because of errors.
- make[2]: Leaving directory '/usr/src/linux-headers-5.8.0-kali3-amd64'
- make[1]: *** [Makefile:185: __sub-make] Error 2
- make[1]: Target 'modules' not remade because of errors.
- make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-kali3-common'
- make: *** [Makefile:81: modules] Error 2
- -> Error.
- ERROR: An error occurred while performing the step: "Checking to see whether the nvidia kernel module was successfully built". See /var/log/nvidia-installer.log for details.
- -> The command `cd ./kernel; /usr/bin/make -k -j8 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.8.0-kali3-amd64/source" SYSOUT="/lib/modules/5.8.0-kali3-amd64/build"` failed with the following output:
- make[1]: Entering directory '/usr/src/linux-headers-5.8.0-kali3-common'
- make[2]: Entering directory '/usr/src/linux-headers-5.8.0-kali3-amd64'
- scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:13:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:14:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:13:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.c:13:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-chrdev.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-frontend.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-instance.o] Error 1
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-acpi.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-cray.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-dma.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-gvi.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-i2c.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 255 | if (NV_ALLOW_CACHING(memory_type))
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.c:257:9: note: here
- 257 | default:
- | ^~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mmap.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:14:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-mempool.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_add_text_file':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1026:5: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1026 | NV_CREATE_PROC_FILE(filename, parent, text_file, (void *)text);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c: In function 'nv_register_procfs':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1080:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1080 | entry = NV_CREATE_PROC_FILE("params", proc_nvidia, params, NULL);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1084:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1084 | entry = NV_CREATE_PROC_FILE("registry", proc_nvidia, registry, NULL);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:14:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1105:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1105 | entry = NV_CREATE_PROC_FILE("version", proc_nvidia, version, NULL);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_add_gpu':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1147:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1147 | entry = NV_CREATE_PROC_FILE("information", proc_nvidia_gpu, gpu_info,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1152:13: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1152 | entry = NV_CREATE_PROC_FILE("registry", proc_nvidia_gpu, registry, nv);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1158:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1158 | entry = NV_CREATE_PROC_FILE("exercise_error_forwarding", proc_nvidia_gpu,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1166:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1166 | entry = NV_CREATE_PROC_FILE("unbindLock", proc_nvidia_gpu, unbind_lock, nv);
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1173:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1173 | entry = NV_CREATE_PROC_FILE("numa_status", proc_nvidia_gpu, numa_status,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:1178:17: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 1178 | entry = NV_CREATE_PROC_FILE("offline_pages", proc_nvidia_gpu, offline_pages,
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-pat.o] Error 1
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-p2p.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-procfs.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-usermap.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c: In function 'nv_set_memory_array_type':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:86:13: error: implicit declaration of function 'set_memory_array_uc'; did you mean 'set_pages_array_uc'? [-Werror=implicit-function-declaration]
- 86 | set_memory_array_uc(pages, num_pages);
- | ^~~~~~~~~~~~~~~~~~~
- | set_pages_array_uc
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.c:89:13: error: implicit declaration of function 'set_memory_array_wb'; did you mean 'set_pages_array_wb'? [-Werror=implicit-function-declaration]
- 89 | set_memory_array_wb(pages, num_pages);
- | ^~~~~~~~~~~~~~~~~~~
- | set_pages_array_wb
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vm.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-vtophys.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:17:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function 'os_get_current_time':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:432:20: error: storage size of 'tm' isn't known
- 432 | struct timeval tm;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:432:20: warning: unused variable 'tm' [-Wunused-variable]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function 'os_get_current_tick':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:446:21: error: storage size of 'ts' isn't known
- 446 | struct timespec ts;
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:448:5: error: implicit declaration of function 'jiffies_to_timespec'; did you mean 'jiffies_to_timespec64'? [-Werror=implicit-function-declaration]
- 448 | jiffies_to_timespec(jiffies, &ts);
- | ^~~~~~~~~~~~~~~~~~~
- | jiffies_to_timespec64
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:446:21: warning: unused variable 'ts' [-Wunused-variable]
- 446 | struct timespec ts;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function 'os_delay':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:20: error: storage size of 'tm_end' isn't known
- 558 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:28: error: storage size of 'tm_aux' isn't known
- 558 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:28: warning: unused variable 'tm_aux' [-Wunused-variable]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:558:20: warning: unused variable 'tm_end' [-Wunused-variable]
- 558 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c: In function 'os_lookup_user_io_memory':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:47:20: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 47 | down_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:80:18: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 80 | up_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c: In function 'os_lock_user_pages':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:118:20: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 118 | down_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.c:121:18: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
- 121 | up_read(&mm->mmap_sem);
- | ^~~~~~~~
- | mmap_base
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c: In function '_os_ipmi_receive_resp':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:1917:29: error: storage size of 'tv' isn't known
- 1917 | struct timeval tv;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.c:1917:29: warning: unused variable 'tv' [-Wunused-variable]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-mlock.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:15:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-usermap.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-interface.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.c:15:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-pci.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/os-registry.o] Error 1
- cc1: some warnings being treated as errors
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-modeset-interface.o] Error 1
- CC [M] /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.c:12:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-memdbg.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-report-err.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.c:27:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-ibmnpu.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-msi.h:14,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.c:11:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:21:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:21:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-msi.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.c:21:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.c:24:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv_uvm_interface.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- cc1: some warnings being treated as errors
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:29:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nv-rsync.o] Error 1
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:26:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c: In function 'nvswitch_permissions_init':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:324:28: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 324 | nvswitch_permissions = NV_CREATE_PROC_FILE("permissions",
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:16,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:26:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c: In function 'nvswitch_os_get_platform_time':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1562:21: error: storage size of 'ts' isn't known
- 1562 | struct timespec ts;
- | ^~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:556:17: error: too many arguments to function '__vmalloc'
- 556 | void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:94,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/vmalloc.h:111:14: note: declared here
- 111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
- | ^~~~~~~~~
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_nocache':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
- 578 | void *ptr = ioremap_nocache(phys, size);
- | ^~~~~~~~~~~~~~~
- | ioremap_cache
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:578:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1564:5: error: implicit declaration of function 'getnstimeofday'; did you mean 'efi_gettimeofday'? [-Werror=implicit-function-declaration]
- 1564 | getnstimeofday(&ts);
- | ^~~~~~~~~~~~~~
- | efi_gettimeofday
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:32:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:30:43: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 30 | static inline void nv_gettimeofday(struct timeval *tv)
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h: In function 'nv_gettimeofday':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:10: error: 'struct timeval' has no member named 'tv_sec'
- 40 | .tv_sec = now.tv_sec,
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
- 40 | .tv_sec = now.tv_sec,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:40:19: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:10: error: 'struct timeval' has no member named 'tv_usec'
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
- 41 | .tv_usec = now.tv_nsec/1000,
- | ^~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:41:20: note: (near initialization for '(anonymous)')
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type 'struct timeval'
- 39 | *tv = (struct timeval) {
- | ^
- In file included from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:290,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nvlink_permissions_init':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
- 62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops, \
- | ^~~~
- | |
- | const struct file_operations *
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro 'NV_CREATE_PROC_ENTRY'
- 39 | proc_create_data(name, mode, parent, fops, __data)
- | ^~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:105:26: note: in expansion of macro 'NV_CREATE_PROC_FILE'
- 105 | nvlink_permissions = NV_CREATE_PROC_FILE("permissions",
- | ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/efi.h:19,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/common/inc/nv-linux.h:196,
- from /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:30:
- /usr/src/linux-headers-5.8.0-kali3-common/include/linux/proc_fs.h:102:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
- 102 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
- | ^~~~~~~~~~~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:506:18: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 506 | const struct timeval *a,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nv_timer_less_than':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:510:14: error: dereferencing pointer to incomplete type 'const struct timeval'
- 510 | return (a->tv_sec == b->tv_sec) ? (a->tv_usec < b->tv_usec)
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:516:18: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 516 | const struct timeval *a,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nv_timeradd':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:521:11: error: dereferencing pointer to incomplete type 'struct timeval'
- 521 | result->tv_sec = a->tv_sec + b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:521:23: error: dereferencing pointer to incomplete type 'const struct timeval'
- 521 | result->tv_sec = a->tv_sec + b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: At top level:
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:532:18: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
- 532 | const struct timeval *a,
- | ^~~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nv_timersub':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:537:11: error: dereferencing pointer to incomplete type 'struct timeval'
- 537 | result->tv_sec = a->tv_sec - b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:537:23: error: dereferencing pointer to incomplete type 'const struct timeval'
- 537 | result->tv_sec = a->tv_sec - b->tv_sec;
- | ^~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c: In function 'nvlink_sleep':
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:20: error: storage size of 'tm_end' isn't known
- 554 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:28: error: storage size of 'tm_aux' isn't known
- 554 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:28: warning: unused variable 'tm_aux' [-Wunused-variable]
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.c:554:20: warning: unused variable 'tm_end' [-Wunused-variable]
- 554 | struct timeval tm_end, tm_aux;
- | ^~~~~~
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1565:21: error: implicit declaration of function 'timespec_to_ns'; did you mean 'timespec64_to_ns'? [-Werror=implicit-function-declaration]
- 1565 | return ((NvU64) timespec_to_ns(&ts));
- | ^~~~~~~~~~~~~~
- | timespec64_to_ns
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1562:21: warning: unused variable 'ts' [-Wunused-variable]
- 1562 | struct timespec ts;
- | ^~
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/nvlink_linux.o] Error 1
- /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.c:1566:1: warning: control reaches end of non-void function [-Wreturn-type]
- 1566 | }
- | ^
- cc1: some warnings being treated as errors
- make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/Makefile.build:286: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel/nvidia/linux_nvswitch.o] Error 1
- make[3]: Target '__build' not remade because of errors.
- make[2]: *** [/usr/src/linux-headers-5.8.0-kali3-common/Makefile:1764: /tmp/selfgz6775/NVIDIA-Linux-x86_64-418.113/kernel] Error 2
- make[2]: Target 'modules' not remade because of errors.
- make[2]: Leaving directory '/usr/src/linux-headers-5.8.0-kali3-amd64'
- make[1]: *** [Makefile:185: __sub-make] Error 2
- make[1]: Target 'modules' not remade because of errors.
- make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-kali3-common'
- make: *** [Makefile:81: modules] Error 2
- ERROR: The nvidia kernel module was not created.
- ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.