Bonjour la communauté.
, pour la 5.8.0-3.
Mais pour l'installation des headers de 5.9.0-1, ça se corse.
Là c'est carrément l'échec.
DKMS make.log for nvidia-current-450.66 for kernel 5.9.0-1-amd64 (x86_64)
sam. 24 oct. 2020 09:14:33 CEST
make KBUILD_OUTPUT=/lib/modules/5.9.0-1-amd64/build V=1 -C /lib/modules/5.9.0-1-amd64/source M=/var/lib/dkms/nvidia-current/450.66/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/5.9.0-1-amd64/source NV_KERNEL_OUTPUT=/lib/modules/5.9.0-1-amd64/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm" INSTALL_MOD_DIR=kernel/drivers/video NV_SPECTRE_V2=0 modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.9.0-1-common »
make -C /usr/src/linux-headers-5.9.0-1-amd64 -f /usr/src/linux-headers-5.9.0-1-common/Makefile modules
make[2] : on entre dans le répertoire « /usr/src/linux-headers-5.9.0-1-amd64 »
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
make -f /usr/src/linux-headers-5.9.0-1-common/scripts/Makefile.build obj=/var/lib/dkms/nvidia-current/450.66/build \
single-build= \
need-builtin=1 need-modorder=1
scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead
NV_CONFTEST_CMD=/bin/sh /var/lib/dkms/nvidia-current/450.66/build/conftest.sh " gcc-10" x86_64 /lib/modules/5.9.0-1-amd64/source /lib/modules/5.9.0-1-amd64/build
NV_CONFTEST_CFLAGS=-O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest7313" -DKBUILD_MODNAME="#conftest7313" -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/lib/modules/5.9.0-1-amd64/source/arch/x86/include/asm/mach-default -I/lib/modules/5.9.0-1-amd64/source/include/asm-x86/mach-default -I/lib/modules/5.9.0-1-amd64/build/include2 -I/lib/modules/5.9.0-1-amd64/build/include -include /lib/modules/5.9.0-1-amd64/build/include/generated/autoconf.h -I/lib/modules/5.9.0-1-amd64/source/arch/x86/include -I/lib/modules/5.9.0-1-amd64/source/arch/x86/include/uapi -I/lib/modules/5.9.0-1-amd64/build/arch/x86/include/generated -I/lib/modules/5.9.0-1-amd64/build/arch/x86/include/generated/uapi -I/lib/modules/5.9.0-1-amd64/source/include -I/lib/modules/5.9.0-1-amd64/source/include/uapi -I/lib/modules/5.9.0-1-amd64/source/include/xen -I/lib/modules/5.9.0-1-amd64/build/include/generated/uapi -I/var/lib/dkms/nvidia-current/450.66/build/common/inc -I/var/lib/dkms/nvidia-current/450.66/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"450.66\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -fno-pie -Wall -Wundef -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -fmacro-prefix-map=/usr/src/linux-headers-5.9.0-1-common/= -fcf-protection=none -Wno-packed-not-aligned
KBUILD_CFLAGS=-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.9.0-1-common/= -fcf-protection=none -Wno-packed-not-aligned
LINUXINCLUDE=-I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.9.0-1-common/include -I./include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.9.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.9.0-1-common/include/linux/kconfig.h
LDFLAGS=
KBUILD_LDFLAGS=-m elf_x86_64
ARCH=x86_64
ln -sf /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-kernel-amd64.o_binary /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-kernel.o
ln -sf /var/lib/dkms/nvidia-current/450.66/build/nvidia-modeset/nv-modeset-kernel-amd64.o_binary /var/lib/dkms/nvidia-current/450.66/build/nvidia-modeset/nv-modeset-kernel.o
CONFTEST macros.h:
CONFTEST patches.h:
static struct {
const char *short_description;
const char *description;
} __nv_patches[] = {
{ NULL, NULL } };
CONFTEST headers.h:
#undef NV_ASM_SYSTEM_H_PRESENT
#undef NV_DRM_DRMP_H_PRESENT
#define NV_DRM_DRM_AUTH_H_PRESENT
#define NV_DRM_DRM_GEM_H_PRESENT
#define NV_DRM_DRM_CRTC_H_PRESENT
#define NV_DRM_DRM_ATOMIC_H_PRESENT
#define NV_DRM_DRM_ATOMIC_HELPER_H_PRESENT
#define NV_DRM_DRM_ENCODER_H_PRESENT
#define NV_DRM_DRM_ATOMIC_UAPI_H_PRESENT
#define NV_DRM_DRM_DRV_H_PRESENT
#define NV_DRM_DRM_FRAMEBUFFER_H_PRESENT
#define NV_DRM_DRM_CONNECTOR_H_PRESENT
#define NV_DRM_DRM_PROBE_HELPER_H_PRESENT
#define NV_DRM_DRM_BLEND_H_PRESENT
#define NV_DRM_DRM_FOURCC_H_PRESENT
#define NV_DRM_DRM_PRIME_H_PRESENT
#define NV_DRM_DRM_PLANE_H_PRESENT
#define NV_DRM_DRM_VBLANK_H_PRESENT
#define NV_DRM_DRM_FILE_H_PRESENT
#define NV_DRM_DRM_IOCTL_H_PRESENT
#define NV_DRM_DRM_DEVICE_H_PRESENT
#define NV_GENERATED_AUTOCONF_H_PRESENT
#define NV_GENERATED_COMPILE_H_PRESENT
#define NV_GENERATED_UTSRELEASE_H_PRESENT
#define NV_LINUX_EFI_H_PRESENT
#define NV_LINUX_KCONFIG_H_PRESENT
#define NV_LINUX_SCREEN_INFO_H_PRESENT
#define NV_LINUX_SEMAPHORE_H_PRESENT
#define NV_LINUX_PRINTK_H_PRESENT
#define NV_LINUX_RATELIMIT_H_PRESENT
#undef NV_LINUX_PRIO_TREE_H_PRESENT
#define NV_LINUX_LOG2_H_PRESENT
#define NV_LINUX_OF_H_PRESENT
#define NV_LINUX_BUG_H_PRESENT
#define NV_LINUX_SCHED_SIGNAL_H_PRESENT
#define NV_LINUX_SCHED_TASK_H_PRESENT
#define NV_LINUX_SCHED_TASK_STACK_H_PRESENT
#undef NV_XEN_IOEMU_H_PRESENT
#undef NV_LINUX_FENCE_H_PRESENT
#define NV_LINUX_DMA_RESV_H_PRESENT
#undef NV_SOC_TEGRA_CHIP_ID_H_PRESENT
#undef NV_VIDEO_NV_INTERNAL_H_PRESENT
#undef NV_ASM_BOOK3S_64_HASH_64K_H_PRESENT
#define NV_ASM_SET_MEMORY_H_PRESENT
#define NV_ASM_PROM_H_PRESENT
#undef NV_ASM_POWERNV_H_PRESENT
#define NV_ASM_TLBFLUSH_H_PRESENT
#define NV_LINUX_ATOMIC_H_PRESENT
#define NV_ASM_BARRIER_H_PRESENT
#undef NV_ASM_OPAL_API_H_PRESENT
#define NV_SOUND_HDAUDIO_H_PRESENT
#define NV_ASM_PGTABLE_TYPES_H_PRESENT
CONFTEST: hash__remap_4k_pfn
CONFTEST: set_pages_uc
CONFTEST: set_memory_uc
CONFTEST: list_is_first
CONFTEST: set_memory_array_uc
CONFTEST: set_pages_array_uc
CONFTEST: acquire_console_sem
CONFTEST: console_lock
CONFTEST: ioremap_cache
CONFTEST: ioremap_wc
CONFTEST: acpi_walk_namespace
CONFTEST: sg_alloc_table
CONFTEST: pci_get_domain_bus_and_slot
CONFTEST: get_num_physpages
CONFTEST: efi_enabled
CONFTEST: pde_data
CONFTEST: proc_remove
CONFTEST: pm_vt_switch_required
CONFTEST: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: get_dma_ops
CONFTEST: write_cr4
CONFTEST: of_get_property
CONFTEST: of_find_node_by_phandle
CONFTEST: of_node_to_nid
CONFTEST: pnv_pci_get_npu_dev
CONFTEST: of_get_ibm_chip_id
CONFTEST: node_end_pfn
CONFTEST: pci_bus_address
CONFTEST: pci_stop_and_remove_bus_device
CONFTEST: pci_remove_bus_device
CONFTEST: register_cpu_notifier
CONFTEST: cpuhp_setup_state
CONFTEST: dma_map_resource
CONFTEST: backlight_device_register
CONFTEST: timer_setup
CONFTEST: pci_enable_msix_range
CONFTEST: do_gettimeofday
CONFTEST: kernel_read
CONFTEST: kernel_write
CONFTEST: kthread_create_on_node
CONFTEST: of_find_matching_node
CONFTEST: dev_is_pci
CONFTEST: dma_direct_map_resource
CONFTEST: tegra_get_platform
CONFTEST: flush_cache_all
CONFTEST: vmf_insert_pfn
CONFTEST: jiffies_to_timespec
CONFTEST: ktime_get_raw_ts64
CONFTEST: ktime_get_real_ts64
CONFTEST: address_space_init_once
CONFTEST: kbasename
CONFTEST: vzalloc
CONFTEST: wait_on_bit_lock_argument_count
CONFTEST: bitmap_clear
CONFTEST: usleep_range
CONFTEST: radix_tree_empty
CONFTEST: radix_tree_replace_slot
CONFTEST: pnv_npu2_init_context
CONFTEST: cpumask_of_node
CONFTEST: drm_dev_unref
CONFTEST: drm_reinit_primary_mode_group
CONFTEST: get_user_pages_remote
CONFTEST: get_user_pages
CONFTEST: drm_gem_object_lookup
CONFTEST: drm_atomic_state_ref_counting
CONFTEST: drm_driver_has_gem_prime_res_obj
CONFTEST: drm_atomic_helper_connector_dpms
CONFTEST: drm_connector_funcs_have_mode_in_name
CONFTEST: drm_framebuffer_get
CONFTEST: drm_gem_object_get
CONFTEST: drm_dev_put
CONFTEST: drm_format_num_planes
CONFTEST: drm_connector_for_each_possible_encoder
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_get_unused_fd
CONFTEST: is_export_symbol_present_get_unused_fd_flags
CONFTEST: is_export_symbol_present_screen_info
CONFTEST: is_export_symbol_present_kthread_create_on_node
CONFTEST: acpi_op_remove
CONFTEST: outer_flush_all
CONFTEST: file_operations
CONFTEST: file_inode
CONFTEST: kuid_t
CONFTEST: dma_ops
CONFTEST: swiotlb_dma_ops
CONFTEST: noncoherent_swiotlb_dma_ops
CONFTEST: vm_fault_has_address
CONFTEST: backlight_properties_type
CONFTEST: vm_insert_pfn_prot
CONFTEST: vmf_insert_pfn_prot
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: vmbus_channel_has_ringbuffer_page
CONFTEST: device_driver_of_match_table
CONFTEST: device_of_node
CONFTEST: node_states_n_memory
CONFTEST: kmem_cache_has_kobj_remove_work
CONFTEST: sysfs_slab_unlink
CONFTEST: proc_ops
CONFTEST: vmalloc_has_pgprot_t_arg
CONFTEST: timeval
CONFTEST: mm_has_mmap_lock
CONFTEST: address_space
CONFTEST: backing_dev_info
CONFTEST: mm_context_t
CONFTEST: vm_fault_t
CONFTEST: mmu_notifier_ops_invalidate_range
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_driver_has_set_busid
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_init_function_args
CONFTEST: drm_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_crtc_helper_funcs_has_atomic_enable
CONFTEST: drm_mode_object_find_has_file_priv_arg
CONFTEST: dma_buf_owner
CONFTEST: drm_connector_list_iter
CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
CONFTEST: drm_driver_prime_flag_present
CONFTEST: drm_gem_object_has_resv
CONFTEST: dom0_kernel_present
CONFTEST: nvidia_vgpu_hyperv_available
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: nvidia_grid_build
CONFTEST: nvidia_grid_csp_build
CONFTEST: pm_runtime_available
CONFTEST: drm_available
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 functions.h:
#undef NV_HASH__REMAP_4K_PFN_PRESENT
#define NV_SET_PAGES_UC_PRESENT
#define NV_LIST_IS_FIRST_PRESENT
#define NV_SET_MEMORY_UC_PRESENT
#undef NV_SET_MEMORY_ARRAY_UC_PRESENT
#define NV_SET_PAGES_ARRAY_UC_PRESENT
#undef NV_ACQUIRE_CONSOLE_SEM_PRESENT
#define NV_CONSOLE_LOCK_PRESENT
#define NV_IOREMAP_CACHE_PRESENT
#define NV_IOREMAP_WC_PRESENT
#define NV_ACPI_WALK_NAMESPACE_PRESENT
#define NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT 7
#define NV_SG_ALLOC_TABLE_FROM_PAGES_PRESENT
#define NV_PCI_GET_DOMAIN_BUS_AND_SLOT_PRESENT
#define NV_GET_NUM_PHYSPAGES_PRESENT
#define NV_EFI_ENABLED_PRESENT
#define NV_EFI_ENABLED_ARGUMENT_COUNT 1
#define NV_PDE_DATA_PRESENT
#define NV_PROC_REMOVE_PRESENT
#define NV_PM_VT_SWITCH_REQUIRED_PRESENT
#undef NV_XEN_IOEMU_INJECT_MSI
#undef NV_PHYS_TO_DMA_PRESENT
#define NV_GET_DMA_OPS_PRESENT
#undef NV_WRITE_CR4_PRESENT
#define NV_LINUX_OF_H_USABLE
#define NV_OF_GET_PROPERTY_PRESENT
#define NV_LINUX_OF_H_USABLE
#define NV_OF_FIND_NODE_BY_PHANDLE_PRESENT
#define NV_LINUX_OF_H_USABLE
#define NV_OF_NODE_TO_NID_PRESENT
#undef NV_PNV_PCI_GET_NPU_DEV_PRESENT
#undef NV_OF_GET_IBM_CHIP_ID_PRESENT
#define NV_NODE_END_PFN_PRESENT
#define NV_PCI_BUS_ADDRESS_PRESENT
#define NV_PCI_STOP_AND_REMOVE_BUS_DEVICE_PRESENT
#undef NV_PCI_REMOVE_BUS_DEVICE_PRESENT
#undef NV_REGISTER_CPU_NOTIFIER_PRESENT
#define NV_CPUHP_SETUP_STATE_PRESENT
#define NV_DMA_MAP_RESOURCE_PRESENT
#define NV_BACKLIGHT_DEVICE_REGISTER_PRESENT
#define NV_TIMER_SETUP_PRESENT
#define NV_PCI_ENABLE_MSIX_RANGE_PRESENT
#undef NV_DO_GETTIMEOFDAY_PRESENT
#define NV_KERNEL_READ_PRESENT
#define NV_KERNEL_READ_HAS_POINTER_POS_ARG
#define NV_KERNEL_WRITE_PRESENT
#define NV_KERNEL_WRITE_HAS_POINTER_POS_ARG
#define NV_KTHREAD_CREATE_ON_NODE_PRESENT
#define NV_LINUX_OF_H_USABLE
#define NV_OF_FIND_MATCHING_NODE_PRESENT
#define NV_DEV_IS_PCI_PRESENT
#undef NV_DMA_IS_DIRECT_PRESENT
#undef NV_TEGRA_GET_PLATFORM_PRESENT
#define NV_FLUSH_CACHE_ALL_PRESENT
#define NV_VMF_INSERT_PFN_PRESENT
#undef NV_JIFFIES_TO_TIMESPEC_PRESENT
#define NV_KTIME_GET_RAW_TS64_PRESENT
#define NV_KTIME_GET_REAL_TS64_PRESENT
#define NV_ADDRESS_SPACE_INIT_ONCE_PRESENT
#define NV_KBASENAME_PRESENT
#define NV_VZALLOC_PRESENT
#define NV_WAIT_ON_BIT_LOCK_ARGUMENT_COUNT 3
#define NV_BITMAP_CLEAR_PRESENT
#define NV_USLEEP_RANGE_PRESENT
#define NV_RADIX_TREE_EMPTY_PRESENT
#define NV_RADIX_TREE_REPLACE_SLOT_PRESENT
#define NV_RADIX_TREE_REPLACE_SLOT_ARGUMENT_COUNT 3
#undef NV_PNV_NPU2_INIT_CONTEXT_PRESENT
#undef NV_PNV_NPU2_INIT_CONTEXT_CALLBACK_RETURNS_VOID
#define NV_CPUMASK_OF_NODE_PRESENT
#undef NV_DRM_DEV_UNREF_PRESENT
#undef NV_DRM_REINIT_PRIMARY_MODE_GROUP_PRESENT
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#undef NV_GET_USER_PAGES_REMOTE_HAS_LOCKED_ARG
#undef NV_GET_USER_PAGES_REMOTE_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_HAS_TASK_STRUCT
#define NV_DRM_GEM_OBJECT_LOOKUP_ARGUMENT_COUNT 2
#define NV_DRM_ATOMIC_STATE_REF_COUNTING_PRESENT
#undef NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ
#undef NV_DRM_ATOMIC_HELPER_CONNECTOR_DPMS_PRESENT
#undef NV_DRM_CONNECTOR_FUNCS_HAVE_MODE_IN_NAME
#define NV_DRM_FRAMEBUFFER_GET_PRESENT
#define NV_DRM_GEM_OBJECT_GET_PRESENT
#define NV_DRM_DEV_PUT_PRESENT
#undef NV_DRM_FORMAT_NUM_PLANES_PRESENT
#define NV_DRM_CONNECTOR_FOR_EACH_POSSIBLE_ENCODER_ARGUMENT_COUNT 2
CONFTEST symbols.h:
#define NV_IS_EXPORT_SYMBOL_GPL_of_node_to_nid 0
#define NV_IS_EXPORT_SYMBOL_GPL_sme_active 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_swiotlb_map_sg_attrs 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_swiotlb_dma_ops 0
#define NV_IS_EXPORT_SYMBOL_PRESENT___close_fd 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_get_unused_fd 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_get_unused_fd_flags 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_screen_info 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_kthread_create_on_node 1
CONFTEST types.h:
#define NV_ACPI_DEVICE_OPS_REMOVE_ARGUMENT_COUNT 1
#undef NV_OUTER_FLUSH_ALL_PRESENT
#undef NV_FILE_OPERATIONS_HAS_IOCTL
#define NV_FILE_HAS_INODE
#define NV_KUID_T_PRESENT
#define NV_DMA_OPS_PRESENT
#undef NV_SWIOTLB_DMA_OPS_PRESENT
#undef NV_NONCOHERENT_SWIOTLB_DMA_OPS_PRESENT
#define NV_VM_FAULT_HAS_ADDRESS
#define NV_BACKLIGHT_PROPERTIES_TYPE_PRESENT
#undef NV_VM_INSERT_PFN_PROT_PRESENT
#define NV_VMF_INSERT_PFN_PROT_PRESENT
#define NV_ADDRESS_SPACE_INIT_ONCE_PRESENT
#define NV_VM_OPS_FAULT_REMOVED_VMA_ARG
#define NV_VMBUS_CHANNEL_HAS_RING_BUFFER_PAGE
#define NV_DEVICE_DRIVER_OF_MATCH_TABLE_PRESENT
#define NV_DEVICE_OF_NODE_PRESENT
#define NV_NODE_STATES_N_MEMORY_PRESENT
#undef NV_KMEM_CACHE_HAS_KOBJ_REMOVE_WORK
#undef NV_SYSFS_SLAB_UNLINK_PRESENT
#define NV_PROC_OPS_PRESENT
#undef NV_VMALLOC_HAS_PGPROT_T_ARG
#undef NV_TIMEVAL_PRESENT
#define NV_MM_HAS_MMAP_LOCK
#undef NV_ADDRESS_SPACE_HAS_RWLOCK_TREE_LOCK
#undef NV_ADDRESS_SPACE_HAS_BACKING_DEV_INFO
#undef NV_MM_CONTEXT_T_HAS_ID
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#undef NV_GET_USER_PAGES_REMOTE_HAS_LOCKED_ARG
#undef NV_GET_USER_PAGES_REMOTE_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_HAS_TASK_STRUCT
#define NV_VM_FAULT_T_IS_PRESENT
#define NV_MMU_NOTIFIER_OPS_HAS_INVALIDATE_RANGE
#undef NV_DRM_BUS_PRESENT
#undef NV_DRM_BUS_HAS_BUS_TYPE
#undef NV_DRM_BUS_HAS_GET_IRQ
#undef NV_DRM_BUS_HAS_GET_NAME
#define NV_DRM_DRIVER_HAS_LEGACY_DEV_LIST
#undef NV_DRM_DRIVER_HAS_SET_BUSID
#define NV_DRM_CRTC_STATE_HAS_CONNECTORS_CHANGED
#define NV_DRM_CRTC_INIT_WITH_PLANES_HAS_NAME_ARG
#define NV_DRM_ENCODER_INIT_HAS_NAME_ARG
#define NV_DRM_UNIVERSAL_PLANE_INIT_HAS_FORMAT_MODIFIERS_ARG
#define NV_DRM_UNIVERSAL_PLANE_INIT_HAS_NAME_ARG
#define NV_DRM_HELPER_MODE_FILL_FB_STRUCT_HAS_DEV_ARG
#define NV_DRM_HELPER_MODE_FILL_FB_STRUCT_HAS_CONST_MODE_CMD_ARG
#undef NV_DRM_MASTER_DROP_HAS_FROM_RELEASE_ARG
#undef NV_DRM_DRIVER_UNLOAD_HAS_INT_RETURN_TYPE
#undef NV_DRM_ATOMIC_HELPER_CRTC_DESTROY_STATE_HAS_CRTC_ARG
#define NV_DRM_CRTC_HELPER_FUNCS_HAS_ATOMIC_ENABLE
#define NV_DRM_MODE_OBJECT_FIND_HAS_FILE_PRIV_ARG
#define NV_DMA_BUF_OWNER_PRESENT
#define NV_DRM_CONNECTOR_LIST_ITER_PRESENT
#define NV_DRM_CONNECTOR_LIST_ITER_BEGIN_PRESENT
#define NV_DRM_ATOMIC_HELPER_SWAP_STATE_HAS_STALL_ARG
#define NV_DRM_ATOMIC_HELPER_SWAP_STATE_RETURN_INT
#undef NV_DRM_DRIVER_PRIME_FLAG_PRESENT
#define NV_DRM_GEM_OBJECT_HAS_RESV
CONFTEST generic.h:
#undef NV_DOM0_KERNEL_PRESENT
#define NV_VGPU_HYPERV_BUILD
#undef NV_VGPU_KVM_BUILD
#undef NV_GRID_BUILD
#undef NV_GRID_BUILD_CSP
#undef NV_GET_USER_PAGES_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_HAS_TASK_STRUCT
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#undef NV_GET_USER_PAGES_REMOTE_HAS_LOCKED_ARG
#undef NV_GET_USER_PAGES_REMOTE_HAS_WRITE_AND_FORCE_ARGS
#define NV_PM_RUNTIME_AVAILABLE
#define NV_VM_FAULT_T_IS_PRESENT
#define NV_DRM_AVAILABLE
#define NV_DRM_ATOMIC_MODESET_AVAILABLE
#define NV_IS_EXPORT_SYMBOL_GPL_refcount_inc 0
#define NV_IS_EXPORT_SYMBOL_GPL_refcount_dec_and_test 0
#define NV_DRM_ALPHA_BLENDING_AVAILABLE
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-current/450.66/build/nvidia/.nv-frontend.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.9.0-1-common/include -I./include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.9.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.9.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.9.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.9.0-1-common/= -fcf-protection=none -Wno-packed-not-aligned -I/var/lib/dkms/nvidia-current/450.66/build/common/inc -I/var/lib/dkms/nvidia-current/450.66/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"450.66\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -I/var/lib/dkms/nvidia-current/450.66/build/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv_frontend"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-frontend.o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-frontend.c
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-current/450.66/build/nvidia/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.9.0-1-common/include -I./include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.9.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.9.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.9.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.9.0-1-common/= -fcf-protection=none -Wno-packed-not-aligned -I/var/lib/dkms/nvidia-current/450.66/build/common/inc -I/var/lib/dkms/nvidia-current/450.66/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"450.66\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -I/var/lib/dkms/nvidia-current/450.66/build/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv.o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv.c
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-current/450.66/build/nvidia/.nv-pci.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.9.0-1-common/include -I./include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.9.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.9.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.9.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.9.0-1-common/= -fcf-protection=none -Wno-packed-not-aligned -I/var/lib/dkms/nvidia-current/450.66/build/common/inc -I/var/lib/dkms/nvidia-current/450.66/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"450.66\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -I/var/lib/dkms/nvidia-current/450.66/build/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv_pci"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci.o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci.c
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-current/450.66/build/nvidia/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.9.0-1-common/include -I./include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.9.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.9.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.9.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.9.0-1-common/= -fcf-protection=none -Wno-packed-not-aligned -I/var/lib/dkms/nvidia-current/450.66/build/common/inc -I/var/lib/dkms/nvidia-current/450.66/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"450.66\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -I/var/lib/dkms/nvidia-current/450.66/build/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-acpi.o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-acpi.c
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-current/450.66/build/nvidia/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.9.0-1-common/include -I./include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.9.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.9.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.9.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.9.0-1-common/= -fcf-protection=none -Wno-packed-not-aligned -I/var/lib/dkms/nvidia-current/450.66/build/common/inc -I/var/lib/dkms/nvidia-current/450.66/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"450.66\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -I/var/lib/dkms/nvidia-current/450.66/build/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-cray.o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-cray.c
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-current/450.66/build/nvidia/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.9.0-1-common/include -I./include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.9.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.9.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.9.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.9.0-1-common/= -fcf-protection=none -Wno-packed-not-aligned -I/var/lib/dkms/nvidia-current/450.66/build/common/inc -I/var/lib/dkms/nvidia-current/450.66/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"450.66\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -I/var/lib/dkms/nvidia-current/450.66/build/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-dma.o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-dma.c
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-current/450.66/build/nvidia/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.9.0-1-common/include -I./include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.9.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.9.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.9.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.9.0-1-common/= -fcf-protection=none -Wno-packed-not-aligned -I/var/lib/dkms/nvidia-current/450.66/build/common/inc -I/var/lib/dkms/nvidia-current/450.66/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"450.66\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -I/var/lib/dkms/nvidia-current/450.66/build/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-i2c.o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-i2c.c
gcc-10 -Wp,-MMD,/var/lib/dkms/nvidia-current/450.66/build/nvidia/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.9.0-1-common/include -I./include -I/usr/src/linux-headers-5.9.0-1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.9.0-1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.9.0-1-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.9.0-1-common/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-5.9.0-1-common/= -fcf-protection=none -Wno-packed-not-aligned -I/var/lib/dkms/nvidia-current/450.66/build/common/inc -I/var/lib/dkms/nvidia-current/450.66/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"450.66\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -I/var/lib/dkms/nvidia-current/450.66/build/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.o /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-cray.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-cray.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1714:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
1714 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-cray.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-cray.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1715:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
1715 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-cray.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-cray.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1716:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
1716 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-cray.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~~
| |
| struct page **
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-cray.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-cray.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~
| |
| struct vm_area_struct **
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-cray.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~^~~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-frontend.c:13:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-frontend.c:13:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1714:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
1714 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-frontend.c:13:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-frontend.c:13:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1715:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
1715 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-frontend.c:13:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-frontend.c:13:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1716:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
1716 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-frontend.c:13:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~~
| |
| struct page **
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-frontend.c:13:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-frontend.c:13:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~
| |
| struct vm_area_struct **
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-frontend.c:13:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~^~~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-acpi.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-acpi.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1714:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
1714 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-acpi.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-acpi.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1715:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
1715 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-acpi.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-acpi.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1716:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
1716 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-acpi.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~~
| |
| struct page **
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-acpi.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-acpi.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~
| |
| struct vm_area_struct **
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-acpi.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~^~~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-i2c.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-i2c.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1714:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
1714 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-i2c.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-i2c.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1715:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
1715 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-i2c.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-i2c.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1716:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
1716 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-i2c.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~~
| |
| struct page **
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-i2c.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-i2c.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~
| |
| struct vm_area_struct **
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-i2c.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~^~~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv.c:14:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv.c:14:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1714:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
1714 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv.c:14:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv.c:14:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1715:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
1715 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv.c:14:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv.c:14:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1716:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
1716 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv.c:14:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~~
| |
| struct page **
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv.c:14:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv.c:14:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~
| |
| struct vm_area_struct **
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv.c:14:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~^~~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-dma.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-dma.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1714:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
1714 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-dma.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-dma.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1715:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
1715 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-dma.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-dma.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1716:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
1716 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-dma.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~~
| |
| struct page **
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-dma.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-dma.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~
| |
| struct vm_area_struct **
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-dma.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~^~~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1714:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
1714 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1715:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
1715 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1716:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
1716 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~~
| |
| struct page **
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c:15:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~
| |
| struct vm_area_struct **
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c:15:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~^~~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pci.h:15,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci.c:12:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /usr/src/linux-headers-5.9.0-1-common/include/linux/scatterlist.h:8,
from /usr/src/linux-headers-5.9.0-1-common/include/linux/dmapool.h:14,
from /usr/src/linux-headers-5.9.0-1-common/include/linux/pci.h:1439,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci-table.h:14,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci.c:11:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1714:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
1714 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pci.h:15,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci.c:12:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
In file included from /usr/src/linux-headers-5.9.0-1-common/include/linux/scatterlist.h:8,
from /usr/src/linux-headers-5.9.0-1-common/include/linux/dmapool.h:14,
from /usr/src/linux-headers-5.9.0-1-common/include/linux/pci.h:1439,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci-table.h:14,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci.c:11:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1715:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
1715 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pci.h:15,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci.c:12:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:149:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
In file included from /usr/src/linux-headers-5.9.0-1-common/include/linux/scatterlist.h:8,
from /usr/src/linux-headers-5.9.0-1-common/include/linux/dmapool.h:14,
from /usr/src/linux-headers-5.9.0-1-common/include/linux/pci.h:1439,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci-table.h:14,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci.c:11:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1716:46: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
1716 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pci.h:15,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci.c:12:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~~
| |
| struct page **
In file included from /usr/src/linux-headers-5.9.0-1-common/include/linux/scatterlist.h:8,
from /usr/src/linux-headers-5.9.0-1-common/include/linux/dmapool.h:14,
from /usr/src/linux-headers-5.9.0-1-common/include/linux/pci.h:1439,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci-table.h:14,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci.c:11:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-pci.h:15,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci.c:12:
/var/lib/dkms/nvidia-current/450.66/build/common/inc/nv-mm.h:150:52: error: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
150 | pages, vmas);
| ^~~~
| |
| struct vm_area_struct **
In file included from /usr/src/linux-headers-5.9.0-1-common/include/linux/scatterlist.h:8,
from /usr/src/linux-headers-5.9.0-1-common/include/linux/dmapool.h:14,
from /usr/src/linux-headers-5.9.0-1-common/include/linux/pci.h:1439,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci-table.h:14,
from /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci.c:11:
/usr/src/linux-headers-5.9.0-1-common/include/linux/mm.h:1717:43: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’
1717 | struct vm_area_struct **vmas, int *locked);
| ~~~~~^~~~~~
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.9.0-1-common/scripts/Makefile.build:288 : /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-cray.o] Erreur 1
make[3]: *** Attente des tâches non terminées....
/var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci.c: In function ‘nv_pci_probe’:
/var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci.c:427:5: error: implicit declaration of function ‘vga_tryget’; did you mean ‘vga_get’? [-Werror=implicit-function-declaration]
427 | vga_tryget(VGA_DEFAULT_DEVICE, VGA_RSRC_LEGACY_MASK);
| ^~~~~~~~~~
| vga_get
/var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c: In function ‘nvidia_mmap’:
/var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c:662:9: warning: unused variable ‘i’ [-Wunused-variable]
662 | int i = 0;
| ^
/var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c: In function ‘nv_encode_caching’:
/var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c:334:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
334 | if (NV_ALLOW_CACHING(memory_type))
| ^
/var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.c:336:9: note: here
336 | default:
| ^~~~~~~
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.9.0-1-common/scripts/Makefile.build:288 : /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-frontend.o] Erreur 1
make[3]: *** [/usr/src/linux-headers-5.9.0-1-common/scripts/Makefile.build:288 : /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-i2c.o] Erreur 1
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.9.0-1-common/scripts/Makefile.build:288 : /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-mmap.o] Erreur 1
make[3]: *** [/usr/src/linux-headers-5.9.0-1-common/scripts/Makefile.build:288 : /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-dma.o] Erreur 1
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.9.0-1-common/scripts/Makefile.build:288 : /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-pci.o] Erreur 1
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.9.0-1-common/scripts/Makefile.build:288 : /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv-acpi.o] Erreur 1
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.9.0-1-common/scripts/Makefile.build:288 : /var/lib/dkms/nvidia-current/450.66/build/nvidia/nv.o] Erreur 1
make[2]: *** [/usr/src/linux-headers-5.9.0-1-common/Makefile:1796 : /var/lib/dkms/nvidia-current/450.66/build] Erreur 2
make[2] : on quitte le répertoire « /usr/src/linux-headers-5.9.0-1-amd64 »
make[1]: *** [Makefile:185 : __sub-make] Erreur 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-5.9.0-1-common »
make: *** [Makefile:81 : modules] Erreur 2