Created
July 10, 2023 16:46
-
-
Save ptr1337/5b593653beb42ffd858614ebf3df62f8 to your computer and use it in GitHub Desktop.
nvidia 6.5rc1 dkms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DKMS make.log for nvidia-535.54.03 for kernel 6.5.0-rc1-1-cachyos-rc (x86_64) | |
Mo 10. Jul 18:40:52 CEST 2023 | |
make[1]: Entering directory '/usr/lib/modules/6.5.0-rc1-1-cachyos-rc/build' | |
warning: the compiler differs from the one used to build the kernel | |
The kernel was built by: gcc (GCC) 13.1.1 20230525 | |
You are using: cc (GCC) 13.1.1 20230525 | |
SYMLINK /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-kernel.o | |
SYMLINK /var/lib/dkms/nvidia/535.54.03/build/nvidia-modeset/nv-modeset-kernel.o | |
CONFTEST: hash__remap_4k_pfn | |
CONFTEST: set_pages_uc | |
CONFTEST: list_is_first | |
CONFTEST: set_memory_uc | |
CONFTEST: set_memory_array_uc | |
CONFTEST: set_pages_array_uc | |
CONFTEST: ioremap_cache | |
CONFTEST: ioremap_wc | |
CONFTEST: pci_get_domain_bus_and_slot | |
CONFTEST: get_num_physpages | |
CONFTEST: pde_data | |
CONFTEST: xen_ioemu_inject_msi | |
CONFTEST: phys_to_dma | |
CONFTEST: get_dma_ops | |
CONFTEST: dma_attr_macros | |
CONFTEST: dma_map_page_attrs | |
CONFTEST: write_cr4 | |
CONFTEST: of_find_node_by_phandle | |
CONFTEST: of_node_to_nid | |
CONFTEST: pnv_pci_get_npu_dev | |
CONFTEST: of_get_ibm_chip_id | |
CONFTEST: pci_stop_and_remove_bus_device | |
CONFTEST: pci_bus_address | |
CONFTEST: pci_rebar_get_possible_sizes | |
CONFTEST: wait_for_random_bytes | |
CONFTEST: register_cpu_notifier | |
CONFTEST: cpuhp_setup_state | |
CONFTEST: dma_map_resource | |
CONFTEST: get_backlight_device_by_name | |
CONFTEST: timer_setup | |
CONFTEST: pci_enable_msix_range | |
CONFTEST: kernel_read_has_pointer_pos_arg | |
CONFTEST: kernel_write_has_pointer_pos_arg | |
CONFTEST: dma_direct_map_resource | |
CONFTEST: tegra_get_platform | |
CONFTEST: tegra_bpmp_send_receive | |
CONFTEST: flush_cache_all | |
CONFTEST: vmf_insert_pfn | |
CONFTEST: jiffies_to_timespec | |
CONFTEST: ktime_get_raw_ts64 | |
CONFTEST: ktime_get_real_ts64 | |
CONFTEST: full_name_hash | |
CONFTEST: pci_enable_atomic_ops_to_root | |
CONFTEST: vga_tryget | |
CONFTEST: pgprot_decrypted | |
CONFTEST: cc_mkdec | |
CONFTEST: seq_read_iter | |
CONFTEST: unsafe_follow_pfn | |
CONFTEST: drm_gem_object_get | |
CONFTEST: drm_gem_object_put_unlocked | |
CONFTEST: add_memory_driver_managed | |
CONFTEST: device_property_read_u64 | |
CONFTEST: devm_of_platform_populate | |
CONFTEST: of_dma_configure | |
CONFTEST: of_property_count_elems_of_size | |
CONFTEST: of_property_read_variable_u8_array | |
CONFTEST: of_property_read_variable_u32_array | |
CONFTEST: i2c_new_client_device | |
CONFTEST: i2c_unregister_device | |
CONFTEST: of_get_named_gpio | |
CONFTEST: devm_gpio_request_one | |
CONFTEST: gpio_direction_input | |
CONFTEST: gpio_direction_output | |
CONFTEST: gpio_get_value | |
CONFTEST: gpio_set_value | |
CONFTEST: gpio_to_irq | |
CONFTEST: icc_get | |
CONFTEST: icc_put | |
CONFTEST: icc_set_bw | |
CONFTEST: dma_buf_export_args | |
CONFTEST: dma_buf_ops_has_kmap | |
CONFTEST: dma_buf_ops_has_kmap_atomic | |
CONFTEST: dma_buf_ops_has_map | |
CONFTEST: dma_buf_ops_has_map_atomic | |
CONFTEST: dma_buf_attachment_has_peer2peer | |
CONFTEST: dma_buf_has_dynamic_attachment | |
CONFTEST: dma_set_mask_and_coherent | |
CONFTEST: devm_clk_bulk_get_all | |
CONFTEST: get_task_ioprio | |
CONFTEST: mdev_set_iommu_device | |
CONFTEST: offline_and_remove_memory | |
CONFTEST: wait_on_bit_lock_argument_count | |
CONFTEST: radix_tree_empty | |
CONFTEST: radix_tree_replace_slot | |
CONFTEST: pnv_npu2_init_context | |
CONFTEST: cpumask_of_node | |
CONFTEST: ioasid_get | |
CONFTEST: mm_pasid_set | |
CONFTEST: migrate_vma_setup | |
CONFTEST: mmget_not_zero | |
CONFTEST: mmgrab | |
CONFTEST: iommu_sva_bind_device_has_drvdata_arg | |
CONFTEST: vm_fault_to_errno | |
CONFTEST: acpi_video_backlight_use_native | |
CONFTEST: drm_dev_unref | |
CONFTEST: drm_reinit_primary_mode_group | |
CONFTEST: get_user_pages_remote | |
CONFTEST: get_user_pages | |
CONFTEST: pin_user_pages_remote | |
CONFTEST: pin_user_pages | |
CONFTEST: drm_gem_object_lookup | |
CONFTEST: drm_atomic_state_ref_counting | |
CONFTEST: drm_driver_has_gem_prime_res_obj | |
CONFTEST: drm_atomic_helper_connector_dpms | |
CONFTEST: drm_connector_funcs_have_mode_in_name | |
CONFTEST: drm_connector_has_vrr_capable_property | |
CONFTEST: drm_framebuffer_get | |
CONFTEST: drm_dev_put | |
CONFTEST: drm_format_num_planes | |
CONFTEST: drm_connector_for_each_possible_encoder | |
CONFTEST: drm_rotation_available | |
CONFTEST: drm_vma_offset_exact_lookup_locked | |
CONFTEST: nvhost_dma_fence_unpack | |
CONFTEST: is_export_symbol_gpl_of_node_to_nid | |
CONFTEST: is_export_symbol_gpl_sme_active | |
CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs | |
CONFTEST: is_export_symbol_present_swiotlb_dma_ops | |
CONFTEST: is_export_symbol_present___close_fd | |
CONFTEST: is_export_symbol_present_close_fd | |
CONFTEST: is_export_symbol_present_get_unused_fd | |
CONFTEST: is_export_symbol_present_get_unused_fd_flags | |
CONFTEST: is_export_symbol_present_nvhost_get_default_device | |
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_byte_offset | |
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_aperture | |
CONFTEST: is_export_symbol_present_tegra_dce_register_ipc_client | |
CONFTEST: is_export_symbol_present_tegra_dce_unregister_ipc_client | |
CONFTEST: is_export_symbol_present_tegra_dce_client_ipc_send_recv | |
CONFTEST: is_export_symbol_present_dram_clk_to_mc_clk | |
CONFTEST: is_export_symbol_present_get_dram_num_channels | |
CONFTEST: is_export_symbol_present_tegra_dram_types | |
CONFTEST: is_export_symbol_present_pxm_to_node | |
CONFTEST: is_export_symbol_present_screen_info | |
CONFTEST: is_export_symbol_present_i2c_bus_status | |
CONFTEST: is_export_symbol_present_tegra_fuse_control_read | |
CONFTEST: is_export_symbol_present_tegra_get_platform | |
CONFTEST: is_export_symbol_present_pci_find_host_bridge | |
CONFTEST: is_export_symbol_present_tsec_comms_send_cmd | |
CONFTEST: is_export_symbol_present_tsec_comms_set_init_cb | |
CONFTEST: is_export_symbol_present_tsec_comms_clear_init_cb | |
CONFTEST: is_export_symbol_present_tsec_comms_alloc_mem_from_gscco | |
CONFTEST: is_export_symbol_present_tsec_comms_free_gscco_mem | |
CONFTEST: is_export_symbol_present_int_active_memcg | |
CONFTEST: dma_ops | |
CONFTEST: swiotlb_dma_ops | |
CONFTEST: noncoherent_swiotlb_dma_ops | |
CONFTEST: vm_fault_has_address | |
CONFTEST: vm_insert_pfn_prot | |
CONFTEST: vmf_insert_pfn_prot | |
CONFTEST: vm_ops_fault_removed_vma_arg | |
CONFTEST: kmem_cache_has_kobj_remove_work | |
CONFTEST: sysfs_slab_unlink | |
CONFTEST: proc_ops | |
CONFTEST: timespec64 | |
CONFTEST: vmalloc_has_pgprot_t_arg | |
CONFTEST: mm_has_mmap_lock | |
CONFTEST: pci_channel_state | |
CONFTEST: pci_dev_has_ats_enabled | |
CONFTEST: remove_memory_has_nid_arg | |
CONFTEST: add_memory_driver_managed_has_mhp_flags_arg | |
CONFTEST: num_registered_fb | |
CONFTEST: pci_driver_has_driver_managed_dma | |
CONFTEST: vm_area_struct_has_const_vm_flags | |
CONFTEST: memory_failure_has_trapno_arg | |
CONFTEST: backing_dev_info | |
CONFTEST: mm_context_t | |
CONFTEST: vm_fault_t | |
CONFTEST: mmu_notifier_ops_invalidate_range | |
CONFTEST: migrate_vma_added_flags | |
CONFTEST: migrate_device_range | |
CONFTEST: handle_mm_fault_has_mm_arg | |
CONFTEST: handle_mm_fault_has_pt_regs_arg | |
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_device_list | |
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_helper_mode_fill_fb_struct | |
CONFTEST: drm_master_drop_has_from_release_arg | |
CONFTEST: drm_driver_unload_has_int_return_type | |
CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg | |
CONFTEST: drm_atomic_helper_plane_destroy_state_has_plane_arg | |
CONFTEST: drm_mode_object_find_has_file_priv_arg | |
CONFTEST: dma_buf_owner | |
CONFTEST: drm_connector_list_iter | |
CONFTEST: drm_atomic_helper_swap_state_has_stall_arg | |
CONFTEST: drm_driver_prime_flag_present | |
CONFTEST: drm_gem_object_has_resv | |
CONFTEST: drm_crtc_state_has_async_flip | |
CONFTEST: drm_crtc_state_has_pageflip_flags | |
CONFTEST: drm_crtc_state_has_vrr_enabled | |
CONFTEST: drm_format_modifiers_present | |
CONFTEST: drm_vma_node_is_allowed_has_tag_arg | |
CONFTEST: drm_vma_offset_node_has_readonly | |
CONFTEST: drm_display_mode_has_vrefresh | |
CONFTEST: drm_driver_master_set_has_int_return_type | |
CONFTEST: drm_driver_has_gem_free_object | |
CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg | |
CONFTEST: drm_driver_has_gem_prime_callbacks | |
CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg | |
CONFTEST: drm_gem_object_vmap_has_map_arg | |
CONFTEST: drm_plane_atomic_check_has_atomic_state_arg | |
CONFTEST: drm_device_has_pdev | |
CONFTEST: drm_crtc_state_has_no_vblank | |
CONFTEST: drm_mode_config_has_allow_fb_modifiers | |
CONFTEST: drm_has_hdr_output_metadata | |
CONFTEST: dma_resv_add_fence | |
CONFTEST: dma_resv_reserve_fences | |
CONFTEST: reservation_object_reserve_shared_has_num_fences_arg | |
CONFTEST: drm_connector_has_override_edid | |
CONFTEST: drm_master_has_leases | |
CONFTEST: drm_file_get_master | |
CONFTEST: drm_modeset_lock_all_end | |
CONFTEST: drm_connector_lookup | |
CONFTEST: drm_connector_put | |
CONFTEST: drm_driver_has_dumb_destroy | |
CONFTEST: dom0_kernel_present | |
CONFTEST: nvidia_vgpu_kvm_build | |
CONFTEST: nvidia_grid_build | |
CONFTEST: nvidia_grid_csp_build | |
CONFTEST: pm_runtime_available | |
CONFTEST: pci_class_multimedia_hd_audio | |
CONFTEST: drm_available | |
CONFTEST: vfio_pci_core_available | |
CONFTEST: mdev_available | |
CONFTEST: cmd_uphy_display_port_init | |
CONFTEST: cmd_uphy_display_port_off | |
CONFTEST: memory_failure_mf_sw_simulated_defined | |
CONFTEST: drm_atomic_available | |
CONFTEST: is_export_symbol_gpl_refcount_inc | |
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test | |
CONFTEST: drm_alpha_blending_available | |
CONFTEST: ib_peer_memory_symbols | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-pci.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-dmabuf.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-nano-timer.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-acpi.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-cray.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-dma.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-i2c.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-mmap.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-p2p.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-pat.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-procfs.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-usermap.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-vm.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-vtophys.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/os-interface.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/os-mlock.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/os-pci.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/os-registry.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/os-usermap.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-modeset-interface.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-pci-table.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-kthread-q.o | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-memdbg.o | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-mmap.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-p2p.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-acpi.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
In file included from ./arch/x86/include/asm/nospec-branch.h:15, | |
from ./arch/x86/include/asm/paravirt_types.h:27, | |
from ./arch/x86/include/asm/ptrace.h:97, | |
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:67, | |
from ./include/linux/time32.h:13, | |
from ./include/linux/time.h:60, | |
from ./include/linux/ktime.h:24, | |
from ./include/linux/hrtimer_defs.h:5, | |
from ./include/linux/hrtimer.h:15, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-nano-timer.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-nano-timer.c:31: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from ./include/uapi/linux/posix_types.h:5, | |
from ./include/uapi/linux/types.h:14, | |
from ./include/linux/types.h:6, | |
from ./include/linux/limits.h:6, | |
from ./include/linux/kernel.h:16, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-nano-timer.c:26: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-cray.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-pat.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-dma.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
In file included from ./arch/x86/include/asm/nospec-branch.h:15, | |
from ./arch/x86/include/asm/paravirt_types.h:27, | |
from ./arch/x86/include/asm/ptrace.h:97, | |
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:67, | |
from ./include/linux/time32.h:13, | |
from ./include/linux/time.h:60, | |
from ./include/linux/stat.h:19, | |
from ./include/linux/module.h:13, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv.c:24: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv.c:34: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from ./include/uapi/linux/posix_types.h:5, | |
from ./include/uapi/linux/types.h:14, | |
from ./include/linux/types.h:6, | |
from ./include/linux/kasan-checks.h:5, | |
from ./include/asm-generic/rwonce.h:26, | |
from ./arch/x86/include/generated/asm/rwonce.h:1, | |
from ./include/linux/compiler.h:246, | |
from ./include/linux/build_bug.h:5, | |
from ./include/linux/container_of.h:5, | |
from ./include/linux/list.h:5, | |
from ./include/linux/module.h:12: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-procfs.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-vm.c:26: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-usermap.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-vtophys.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-vm.c:25: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/os-pci.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/os-usermap.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/os-registry.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/os-mlock.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-modeset-interface.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/os-interface.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from ./include/linux/mutex.h:14, | |
from ./include/linux/kernfs.h:11, | |
from ./include/linux/sysfs.h:16, | |
from ./include/linux/kobject.h:20, | |
from ./include/linux/pci.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-pci-table.h:27, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-pci.c:24: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
In file included from ./include/linux/scatterlist.h:8, | |
from ./include/linux/dmapool.h:14, | |
from ./include/linux/pci.h:1591: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pci.h:28, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-pci.c:26: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from ./include/uapi/linux/posix_types.h:5, | |
from ./include/uapi/linux/types.h:14, | |
from ./include/linux/types.h:6, | |
from ./include/uapi/linux/mei_uuid.h:12, | |
from ./include/uapi/linux/mei.h:10, | |
from ./include/linux/mod_devicetable.h:12, | |
from ./include/linux/pci.h:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-memdbg.c:25: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from ./arch/x86/include/asm/nospec-branch.h:15, | |
from ./arch/x86/include/asm/paravirt_types.h:27, | |
from ./arch/x86/include/asm/paravirt.h:7, | |
from ./arch/x86/include/asm/io.h:235, | |
from ./include/linux/io.h:13, | |
from ./include/linux/iosys-map.h:10, | |
from ./include/linux/dma-buf.h:16, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-dmabuf.c:23: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
In file included from ./include/linux/scatterlist.h:8, | |
from ./include/linux/dma-buf.h:19: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-dmabuf.h:27, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-dmabuf.c:24: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from ./include/uapi/linux/posix_types.h:5, | |
from ./include/uapi/linux/types.h:14, | |
from ./include/linux/types.h:6, | |
from ./include/linux/io.h:9: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from ./include/linux/mmzone.h:8, | |
from ./include/linux/gfp.h:7, | |
from ./include/linux/slab.h:16, | |
from ./include/linux/resource_ext.h:11, | |
from ./include/linux/acpi.h:13, | |
from ./include/linux/i2c.h:13, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-i2c.c:26: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
In file included from ./include/linux/memcontrol.h:20, | |
from ./include/linux/swap.h:9, | |
from ./include/linux/suspend.h:5, | |
from ./include/linux/regulator/consumer.h:35, | |
from ./include/linux/i2c.h:19: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-i2c.c:29: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from ./include/uapi/linux/posix_types.h:5, | |
from ./include/uapi/linux/types.h:14, | |
from ./include/linux/types.h:6, | |
from ./include/linux/kasan-checks.h:5, | |
from ./include/asm-generic/rwonce.h:26, | |
from ./arch/x86/include/generated/asm/rwonce.h:1, | |
from ./include/linux/compiler.h:246, | |
from ./include/linux/build_bug.h:5, | |
from ./include/linux/bits.h:21, | |
from ./include/linux/ioport.h:13, | |
from ./include/linux/acpi.h:12: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-ibmnpu.o | |
/var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-mmap.c: At top level: | |
/var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-mmap.c:303:5: warning: conflicting types for ‘nv_encode_caching’ due to enum/integer mismatch; have ‘int(pgprot_t *, NvU32, nv_memory_type_t)’ {aka ‘int(struct pgprot *, unsigned int, nv_memory_type_t)’} [-Wenum-int-mismatch] | |
303 | int nv_encode_caching( | |
| ^~~~~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:1766: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-proto.h:46:13: note: previous declaration of ‘nv_encode_caching’ with type ‘int(pgprot_t *, NvU32, NvU32)’ {aka ‘int(struct pgprot *, unsigned int, unsigned int)’} | |
46 | int nv_encode_caching (pgprot_t *, NvU32, NvU32); | |
| ^~~~~~~~~~~~~~~~~ | |
CC [M] /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-report-err.o | |
/var/lib/dkms/nvidia/535.54.03/build/nvidia/os-mlock.c: In function ‘os_lock_user_pages’: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:44:31: error: too many arguments to function ‘pin_user_pages’ | |
44 | #define NV_PIN_USER_PAGES pin_user_pages | |
| ^~~~~~~~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/nvidia/os-mlock.c:245:11: note: in expansion of macro ‘NV_PIN_USER_PAGES’ | |
245 | ret = NV_PIN_USER_PAGES((unsigned long)address, | |
| ^~~~~~~~~~~~~~~~~ | |
./include/linux/mm.h:2415:6: note: declared here | |
2415 | long pin_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-cray.o] Error 1 | |
make[3]: *** Waiting for unfinished jobs.... | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-vtophys.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-pat.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-mmap.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-i2c.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-pci.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-nano-timer.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-acpi.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-p2p.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-vm.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/os-mlock.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-procfs.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-usermap.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/os-pci.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/os-usermap.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-dma.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-modeset-interface.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/os-registry.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-dmabuf.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/os-interface.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-memdbg.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv.o] Error 1 | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-ibmnpu.c:27: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from ./arch/x86/include/asm/preempt.h:7, | |
from ./include/linux/preempt.h:79, | |
from ./include/linux/spinlock.h:56, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-lock.h:29, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:32, | |
from /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-report-err.c:25: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’: | |
./arch/x86/include/asm/current.h:44:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
44 | #define current get_current() | |
| ^~~~~~~~~~~~~ | |
| | | |
| struct task_struct * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-pgprot.h:30, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:33: | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:34: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’ | |
88 | return get_user_pages(current, current->mm, start, nr_pages, write, | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
In file included from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv.h:35, | |
from /var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-linux.h:28: | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’: | |
./include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
8 | #define NULL ((void *)0) | |
| ^~~~~~~~~~~ | |
| | | |
| void * | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~ | |
./include/linux/mm.h:2413:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~ | |
| | | |
| struct mm_struct * | |
./include/linux/mm.h:2413:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ~~~~~~~~~~~~~~^~~~~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion] | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~ | |
| | | |
| long unsigned int | |
./include/linux/mm.h:2414:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’ | |
2414 | unsigned int gup_flags, struct page **pages); | |
| ~~~~~~~~~~~~~~^~~~~ | |
/var/lib/dkms/nvidia/535.54.03/build/common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’ | |
182 | return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas); | |
| ^~~~~~~~~~~~~~ | |
./include/linux/mm.h:2413:6: note: declared here | |
2413 | long get_user_pages(unsigned long start, unsigned long nr_pages, | |
| ^~~~~~~~~~~~~~ | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-ibmnpu.o] Error 1 | |
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/535.54.03/build/nvidia/nv-report-err.o] Error 1 | |
make[2]: *** [/usr/lib/modules/6.5.0-rc1-1-cachyos-rc/build/Makefile:2018: /var/lib/dkms/nvidia/535.54.03/build] Error 2 | |
make[1]: *** [Makefile:234: __sub-make] Error 2 | |
make[1]: Leaving directory '/usr/lib/modules/6.5.0-rc1-1-cachyos-rc/build' | |
make: *** [Makefile:82: modules] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment