nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Thu Sep 2 12:44:45 2021 installer version: 390.116 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin nvidia-installer command line: ./nvidia-installer Using: nvidia-installer ncurses v6 user interface -> Detected 24 CPUs online; setting concurrency level to 24. -> Installing NVIDIA driver version 390.116. -> There appears to already be a driver installed on your system (version: 390.116). As part of installing this driver (version: 390.116), the existing driver will be uninstalled. Are you sure you want to continue? (Answer: Continue installation) -> An alternate method of installing the NVIDIA driver was detected. (This is usually a package provided by your distributor.) A driver installed via that method may integrate better with your system than a driver installed by nvidia-installer. Please review the message provided by the maintainer of this alternate installation method and decide how to proceed: The NVIDIA driver provided by Ubuntu can be installed by launching the "Software & Updates" application, and by selecting the NVIDIA driver from the "Additional Drivers" tab. (Answer: Continue installation) -> Performing CC sanity check with CC="/usr/bin/cc". -> Kernel source path: '/lib/modules/5.10.0-051000-generic/build' -> Kernel output path: '/lib/modules/5.10.0-051000-generic/build' -> The CC version check failed: The kernel was built with gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0, GNU ld (GNU Binutils for Ubuntu) 2.35.1, but the current compiler version is cc (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.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 (Ubuntu 10.2.0-13ubuntu1) 10.2.0, GNU ld (GNU Binutils for Ubuntu) 2.35.1, but the current compiler version is cc (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.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 -j24 clean NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.10.0-051000-generic/build" SYSOUT="/lib/modules/5.10.0-051000-generic/build"'... rm -f -r conftest make[1]: Entering directory '/usr/src/linux-headers-5.10.0-051000-generic' make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-051000-generic' -> Building kernel modules executing: 'cd ./kernel; /usr/bin/make -k -j24 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.10.0-051000-generic/build" SYSOUT="/lib/modules/5.10.0-051000-generic/build"'... make[1]: Entering directory '/usr/src/linux-headers-5.10.0-051000-generic' scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead SYMLINK /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kernel.o SYMLINK /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/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: 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: 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: kmem_cache_create_usercopy CONFTEST: do_gettimeofday 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: 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_free CONFTEST: drm_driver_has_gem_prime_res_obj CONFTEST: drm_atomic_helper_connector_dpms CONFTEST: drm_connector_funcs_have_mode_in_name CONFTEST: vmf_insert_pfn 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: pci_save_state 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: kernel_write CONFTEST: strnstr CONFTEST: iterate_dir CONFTEST: kstrtoull CONFTEST: backlight_properties_type 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: pnv_npu2_init_context 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: dom0_kernel_present CONFTEST: nvidia_vgpu_kvm_build CONFTEST: nvidia_grid_build CONFTEST: drm_available CONFTEST: drm_atomic_available CONFTEST: drm_atomic_modeset_nonblocking_commit_available CONFTEST: is_export_symbol_gpl_refcount_inc CONFTEST: is_export_symbol_gpl_refcount_dec_and_test CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors cc1: some warnings being treated as errors compilation terminated. compilation terminated. compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors compilation terminated. compilation terminated. cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pci-table.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. compilation terminated. cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q-selftest.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.o] Error 1 compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/nvstatus.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/nvCpuUuid.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-kthread-q.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/rculist.h:10, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:27: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.o] Error 1 /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.o cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.o cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from ./include/linux/bits.h:6, from ./arch/x86/include/asm/msr-index.h:5, from ./arch/x86/include/asm/nospec-branch.h:12, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:13, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:65, from ./include/linux/time32.h:13, from ./include/linux/time.h:73, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: ./include/vdso/bits.h:7: warning: "BIT" redefined 7 | #define BIT(nr) (UL(1) << (nr)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition 58 | #define BIT(b) (1<<(b)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.o In file included from ./include/linux/bits.h:6, from ./arch/x86/include/asm/msr-index.h:5, from ./arch/x86/include/asm/nospec-branch.h:12, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:13, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:65, from ./include/linux/time32.h:13, from ./include/linux/time.h:73, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: ./include/vdso/bits.h:7: warning: "BIT" redefined 7 | #define BIT(nr) (UL(1) << (nr)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition 58 | #define BIT(b) (1<<(b)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/bits.h:6, from ./arch/x86/include/asm/msr-index.h:5, from ./arch/x86/include/asm/nospec-branch.h:12, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:13, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:65, from ./include/linux/time32.h:13, from ./include/linux/time.h:73, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: ./include/vdso/bits.h:7: warning: "BIT" redefined 7 | #define BIT(nr) (UL(1) << (nr)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition 58 | #define BIT(b) (1<<(b)) | In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.o] Error 1 In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.o] Error 1 cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.o cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.o In file included from ./include/linux/bits.h:6, from ./arch/x86/include/asm/msr-index.h:5, from ./arch/x86/include/asm/nospec-branch.h:12, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:13, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:65, from ./include/linux/time32.h:13, from ./include/linux/time.h:73, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: ./include/vdso/bits.h:7: warning: "BIT" redefined 7 | #define BIT(nr) (UL(1) << (nr)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition 58 | #define BIT(b) (1<<(b)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.o cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.o] Error 1 /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.o] Error 1 cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm.o In file included from ./include/linux/bits.h:6, from ./arch/x86/include/asm/msr-index.h:5, from ./arch/x86/include/asm/nospec-branch.h:12, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:13, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:65, from ./include/linux/time32.h:13, from ./include/linux/time.h:73, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: ./include/vdso/bits.h:7: warning: "BIT" redefined 7 | #define BIT(nr) (UL(1) << (nr)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition 58 | #define BIT(b) (1<<(b)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-drv.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-utils.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-crtc.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-encoder.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-connector.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-gem.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-fb.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-modeset.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-prime-fence.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-linux.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-helper.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nv-pci-table.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c:38: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c: In function ‘nvkms_get_usec’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c:215:20: error: storage size of ‘tv’ isn’t known 215 | struct timeval tv; | ^~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c:215:20: warning: unused variable ‘tv’ [-Wunused-variable] In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c:35: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c: In function ‘nvkms_add_proc_file’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c:1002:41: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1002 | &nv_procfs_nvkms_proc_fops, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const struct file_operations * /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro ‘NV_CREATE_PROC_ENTRY’ 39 | proc_create_data(name, mode, parent, fops, __data) | ^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-procfs.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c:35: ./include/linux/proc_fs.h:103:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct file_operations *’ 103 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t, | ^~~~~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c: In function ‘nvkms_get_usec’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c:220:1: error: control reaches end of non-void function [-Werror=return-type] 220 | } | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ cc1: some warnings being treated as errors In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.o] Error 1 LD [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm.o make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1805: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-051000-generic' make: *** [Makefile:79: modules] Error 2 -> Error. ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details. -> The command `cd ./kernel; /usr/bin/make -k -j24 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.10.0-051000-generic/build" SYSOUT="/lib/modules/5.10.0-051000-generic/build"` failed with the following output: make[1]: Entering directory '/usr/src/linux-headers-5.10.0-051000-generic' scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead SYMLINK /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kernel.o SYMLINK /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/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: 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: 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: kmem_cache_create_usercopy CONFTEST: do_gettimeofday 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: 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_free CONFTEST: drm_driver_has_gem_prime_res_obj CONFTEST: drm_atomic_helper_connector_dpms CONFTEST: drm_connector_funcs_have_mode_in_name CONFTEST: vmf_insert_pfn 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: pci_save_state 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: kernel_write CONFTEST: strnstr CONFTEST: iterate_dir CONFTEST: kstrtoull CONFTEST: backlight_properties_type 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: pnv_npu2_init_context 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: dom0_kernel_present CONFTEST: nvidia_vgpu_kvm_build CONFTEST: nvidia_grid_build CONFTEST: drm_available CONFTEST: drm_atomic_available CONFTEST: drm_atomic_modeset_nonblocking_commit_available CONFTEST: is_export_symbol_gpl_refcount_inc CONFTEST: is_export_symbol_gpl_refcount_dec_and_test CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors cc1: some warnings being treated as errors compilation terminated. compilation terminated. compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors compilation terminated. compilation terminated. cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pci-table.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. compilation terminated. cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q-selftest.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.o] Error 1 compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/nvstatus.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/nvCpuUuid.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-kthread-q.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/rculist.h:10, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:27: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.c:29: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.o] Error 1 /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_utils.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.o cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tools.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_procfs.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.o cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_isr.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from ./include/linux/bits.h:6, from ./arch/x86/include/asm/msr-index.h:5, from ./arch/x86/include/asm/nospec-branch.h:12, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:13, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:65, from ./include/linux/time32.h:13, from ./include/linux/time.h:73, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: ./include/vdso/bits.h:7: warning: "BIT" redefined 7 | #define BIT(nr) (UL(1) << (nr)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition 58 | #define BIT(b) (1<<(b)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.o In file included from ./include/linux/bits.h:6, from ./arch/x86/include/asm/msr-index.h:5, from ./arch/x86/include/asm/nospec-branch.h:12, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:13, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:65, from ./include/linux/time32.h:13, from ./include/linux/time.h:73, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: ./include/vdso/bits.h:7: warning: "BIT" redefined 7 | #define BIT(nr) (UL(1) << (nr)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition 58 | #define BIT(b) (1<<(b)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_range.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/bits.h:6, from ./arch/x86/include/asm/msr-index.h:5, from ./arch/x86/include/asm/nospec-branch.h:12, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:13, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:65, from ./include/linux/time32.h:13, from ./include/linux/time.h:73, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: ./include/vdso/bits.h:7: warning: "BIT" redefined 7 | #define BIT(nr) (UL(1) << (nr)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition 58 | #define BIT(b) (1<<(b)) | In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv_uvm_interface.h:35, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_access_counters.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.o] Error 1 In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker.o] Error 1 cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pushbuffer.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.o cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_thread_context.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pte_batch.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tlb_batch.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal_types.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_host.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_ce.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.o In file included from ./include/linux/bits.h:6, from ./arch/x86/include/asm/msr-index.h:5, from ./arch/x86/include/asm/nospec-branch.h:12, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:13, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:65, from ./include/linux/time32.h:13, from ./include/linux/time.h:73, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: ./include/vdso/bits.h:7: warning: "BIT" redefined 7 | #define BIT(nr) (UL(1) << (nr)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition 58 | #define BIT(b) (1<<(b)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.c:39: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kepler_mmu.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_maxwell_host.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_ce.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_host.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.c:36: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_mmu.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_mmu.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.o cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_host.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta.o] Error 1 /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_space.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_policy.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_migrate.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.c:162: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_gpu.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_map_external.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_user_channel.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_thrashing.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_api.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hmm.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_heuristics.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test_rng.o] Error 1 cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_prefetch.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_tree_test.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm.o In file included from ./include/linux/bits.h:6, from ./arch/x86/include/asm/msr-index.h:5, from ./arch/x86/include/asm/nospec-branch.h:12, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:13, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:65, from ./include/linux/time32.h:13, from ./include/linux/time.h:73, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: ./include/vdso/bits.h:7: warning: "BIT" redefined 7 | #define BIT(nr) (UL(1) << (nr)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nvmisc.h:58: note: this is the location of the previous definition 58 | #define BIT(b) (1<<(b)) | In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-drv.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-utils.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-crtc.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:38, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-encoder.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-connector.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-gem.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_allocator_test.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-fb.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-modeset.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-prime-fence.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-linux.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-helper.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nv-pci-table.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c:38: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:33:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration 33 | static inline void nv_gettimeofday(struct timeval *tv) | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:5: error: dereferencing pointer to incomplete type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:10: error: ‘struct timeval’ has no member named ‘tv_sec’ 43 | .tv_sec = now.tv_sec, | ^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: warning: excess elements in struct initializer 43 | .tv_sec = now.tv_sec, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:43:19: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:10: error: ‘struct timeval’ has no member named ‘tv_usec’ 44 | .tv_usec = now.tv_nsec/1000, | ^~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: warning: excess elements in struct initializer 44 | .tv_usec = now.tv_nsec/1000, | ^~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:44:20: note: (near initialization for ‘(anonymous)’) /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-time.h:42:28: error: invalid use of undefined type ‘struct timeval’ 42 | *tv = (struct timeval) { | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c: In function ‘nvkms_get_usec’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c:215:20: error: storage size of ‘tv’ isn’t known 215 | struct timeval tv; | ^~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c:215:20: warning: unused variable ‘tv’ [-Wunused-variable] In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c:35: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c: In function ‘nvkms_add_proc_file’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c:1002:41: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1002 | &nv_procfs_nvkms_proc_fops, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const struct file_operations * /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro ‘NV_CREATE_PROC_ENTRY’ 39 | proc_create_data(name, mode, parent, fops, __data) | ^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-procfs.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c:35: ./include/linux/proc_fs.h:103:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct file_operations *’ 103 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t, | ^~~~~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c: In function ‘nvkms_get_usec’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.c:220:1: error: control reaches end of non-void function [-Werror=return-type] 220 | } | ^ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ cc1: some warnings being treated as errors In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.c:26: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_push_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_hal.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_page_tree_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mem_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_global.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_ce_test.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_processors.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_utils_test.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_rm_mem_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_lock.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu_semaphore.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_channel.h:29, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc_test.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_tracker_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_kvmalloc.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_module_test.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_perf_events_test.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_pmm_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.c:23: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_gpu.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_mmu_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_va_block_test.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm_linux.h:41, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_test.h:27, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm/uvm8_range_group_tree_test.o] Error 1 LD [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm.o make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1805: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-051000-generic' make: *** [Makefile:79: modules] Error 2 -> Checking to see whether the nvidia kernel module was successfully built executing: 'cd ./kernel; /usr/bin/make -k -j24 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.10.0-051000-generic/build" SYSOUT="/lib/modules/5.10.0-051000-generic/build"'... make[1]: Entering directory '/usr/src/linux-headers-5.10.0-051000-generic' scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.o] Error 1 make[2]: *** [scripts/Makefile.build:280: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.o] Error 1 /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-kthread-q.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/rculist.h:10, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:27: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.o] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1805: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-051000-generic' make: *** [Makefile:79: modules] Error 2 -> Error. ERROR: An error occurred while performing the step: "Checking to see whether the nvidia kernel module was successfully built". See /var/log/nvidia-installer.log for details. -> The command `cd ./kernel; /usr/bin/make -k -j24 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.10.0-051000-generic/build" SYSOUT="/lib/modules/5.10.0-051000-generic/build"` failed with the following output: make[1]: Entering directory '/usr/src/linux-headers-5.10.0-051000-generic' scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.o CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-acpi.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.c:13: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gpu-numa.o] Error 1 make[2]: *** [scripts/Makefile.build:280: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-frontend.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-instance.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mmap.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.o In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-p2p.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-pat.o] Error 1 CC [M] /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.o make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-i2c.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-dma.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-cray.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-procfs.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-mlock.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.c:14: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-modeset-interface.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vm.o] Error 1 /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-vtophys.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-usermap.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-interface.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-chrdev.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-usermap.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-gvi.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-registry.o] Error 1 make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-mempool.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.c:15: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/os-pci.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.c:25: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-kthread-q.h:28, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-kthread-q.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~ | | | struct task_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1722 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~ | | | struct mm_struct * In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1723 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:145:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion] 145 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags, | ^~~~~ | | | unsigned int In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 1724 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~~ | | | struct page ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:21, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-mm.h:146:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 146 | pages, vmas); | ^~~~ | | | struct vm_area_struct ** In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-pgprot.h:17, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/mm.h:1725:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’ 1725 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/rculist.h:10, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.h:31, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:27: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:136, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h: At top level: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’ 94 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: ./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.c:12: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-memdbg.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.c:24: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-report-err.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.c:27: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv-ibmnpu.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.c:30: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nvlink_linux.o] Error 1 In file included from /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.c:21: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/common/inc/nv-linux.h:164:10: fatal error: linux/ioctl32.h: No such file or directory 164 | #include /* register_ioctl32_conversion() */ | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors compilation terminated. make[2]: *** [scripts/Makefile.build:279: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel/nvidia/nv_uvm_interface.o] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1805: /tmp/selfgz3692/NVIDIA-Linux-x86_64-390.116/kernel] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-051000-generic' make: *** [Makefile:79: modules] Error 2 ERROR: The nvidia kernel module was not created. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.