- 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-