Skip to content

Instantly share code, notes, and snippets.

@aiqc
Created January 13, 2024 00:41
Show Gist options
  • Save aiqc/96a906344d789ad5c8834ecf5b602b58 to your computer and use it in GitHub Desktop.
Save aiqc/96a906344d789ad5c8834ecf5b602b58 to your computer and use it in GitHub Desktop.
/var/crash/nvidia-dkms-390.0.crash
ProblemType: Package
DKMSBuildLog:
DKMS make.log for nvidia-390.157 for kernel 6.5.0-14-generic (x86_64)
Fri Jan 12 06:44:09 PM EST 2024
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-14-generic'
make --no-print-directory -C /usr/src/linux-headers-6.5.0-14-generic \
-f /usr/src/linux-headers-6.5.0-14-generic/Makefile modules
make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia/390.157/build need-builtin=1 need-modorder=1
# cmd_mod /var/lib/dkms/nvidia/390.157/build/nvidia.mod
printf '%s
' nvidia/nv-frontend.o nvidia/nv-instance.o nvidia/nv-gpu-numa.o nvidia/nv.o nvidia/nv-acpi.o nvidia/nv-chrdev.o nvidia/nv-cray.o nvidia/nv-dma.o nvidia/nv-gvi.o nvidia/nv-i2c.o nvidia/nv-mempool.o nvidia/nv-mmap.o nvidia/nv-p2p.o nvidia/nv-pat.o nvidia/nv-procfs.o nvidia/nv-usermap.o nvidia/nv-vm.o nvidia/nv-vtophys.o nvidia/os-interface.o nvidia/os-mlock.o nvidia/os-pci.o nvidia/os-registry.o nvidia/os-usermap.o nvidia/nv-modeset-interface.o nvidia/nv-pci-table.o nvidia/nv-kthread-q.o nvidia/nv-kthread-q-selftest.o nvidia/nv-memdbg.o nvidia/nv-ibmnpu.o nvidia/nv-report-err.o nvidia/nv_uvm_interface.o nvidia/nvlink_linux.o nvidia/nv-kernel.o | awk '!x[$0]++ { print("/var/lib/dkms/nvidia/390.157/build/"$0) }' > /var/lib/dkms/nvidia/390.157/build/nvidia.mod
# SYMLINK /var/lib/dkms/nvidia/390.157/build/nvidia/nv-kernel.o
ln -sf /var/lib/dkms/nvidia/390.157/build/nvidia/nv-kernel.o_binary /var/lib/dkms/nvidia/390.157/build/nvidia/nv-kernel.o
# cmd_mod /var/lib/dkms/nvidia/390.157/build/nvidia-uvm.mod
printf '%s
' nvidia-uvm/uvm_utils.o nvidia-uvm/uvm_common.o nvidia-uvm/uvm_linux.o nvidia-uvm/nvstatus.o nvidia-uvm/nvCpuUuid.o nvidia-uvm/uvm8.o nvidia-uvm/uvm8_tools.o nvidia-uvm/uvm8_global.o nvidia-uvm/uvm8_gpu.o nvidia-uvm/uvm8_gpu_isr.o nvidia-uvm/uvm8_procfs.o nvidia-uvm/uvm8_va_space.o nvidia-uvm/uvm8_gpu_semaphore.o nvidia-uvm/uvm8_mem.o nvidia-uvm/uvm8_rm_mem.o nvidia-uvm/uvm8_channel.o nvidia-uvm/uvm8_lock.o nvidia-uvm/uvm8_hal.o nvidia-uvm/uvm8_rb_tree.o nvidia-uvm/uvm8_range_tree.o nvidia-uvm/uvm8_range_allocator.o nvidia-uvm/uvm8_va_range.o nvidia-uvm/uvm8_va_block.o nvidia-uvm/uvm8_range_group.o nvidia-uvm/uvm8_gpu_replayable_faults.o nvidia-uvm/uvm8_gpu_non_replayable_faults.o nvidia-uvm/uvm8_gpu_access_counters.o nvidia-uvm/uvm8_perf_events.o nvidia-uvm/uvm8_perf_module.o nvidia-uvm/uvm8_mmu.o nvidia-uvm/uvm8_pte_batch.o nvidia-uvm/uvm8_tlb_batch.o nvidia-uvm/uvm8_push.o nvidia-uvm/uvm8_pushbuffer.o nvidia-uvm/uvm8_thread_context.o nvidia-uvm/uvm8_tracker.o nvidia-uvm/uvm8_kepler.o nvidia-uvm/uvm8_kepler_ce.o nvidia-uvm/uvm8_kepler_host.o nvidia-uvm/uvm8_kepler_mmu.o nvidia-uvm/uvm8_maxwell.o nvidia-uvm/uvm8_maxwell_host.o nvidia-uvm/uvm8_pascal.o nvidia-uvm/uvm8_pascal_ce.o nvidia-uvm/uvm8_pascal_host.o nvidia-uvm/uvm8_pascal_mmu.o nvidia-uvm/uvm8_pascal_fault_buffer.o nvidia-uvm/uvm8_volta_host.o nvidia-uvm/uvm8_volta_mmu.o nvidia-uvm/uvm8_volta.o nvidia-uvm/uvm8_volta_fault_buffer.o nvidia-uvm/uvm8_volta_access_counter_buffer.o nvidia-uvm/uvm8_policy.o nvidia-uvm/uvm8_perf_utils.o nvidia-uvm/uvm8_kvmalloc.o nvidia-uvm/uvm8_pmm_sysmem.o nvidia-uvm/uvm8_pmm_gpu.o nvidia-uvm/uvm8_migrate.o nvidia-uvm/uvm8_map_external.o nvidia-uvm/uvm8_user_channel.o nvidia-uvm/uvm8_hmm.o nvidia-uvm/uvm8_perf_heuristics.o nvidia-uvm/uvm8_perf_thrashing.o nvidia-uvm/uvm8_perf_prefetch.o nvidia-uvm/uvm8_test.o nvidia-uvm/uvm8_test_rng.o nvidia-uvm/uvm8_range_tree_test.o nvidia-uvm/uvm8_range_allocator_test.o nvidia-uvm/uvm8_gpu_semaphore_test.o nvidia-uvm/uvm8_mem_test.o nvidia-uvm/uvm8_rm_mem_test.o nvidia-uvm/uvm8_page_tree_test.o nvidia-uvm/uvm8_tracker_test.o nvidia-uvm/uvm8_push_test.o nvidia-uvm/uvm8_channel_test.o nvidia-uvm/uvm8_ce_test.o nvidia-uvm/uvm8_lock_test.o nvidia-uvm/uvm8_perf_utils_test.o nvidia-uvm/uvm8_kvmalloc_test.o nvidia-uvm/uvm8_pmm_test.o nvidia-uvm/uvm8_pmm_sysmem_test.o nvidia-uvm/uvm8_perf_events_test.o nvidia-uvm/uvm8_perf_module_test.o nvidia-uvm/uvm8_get_rm_ptes_test.o nvidia-uvm/uvm8_fault_buffer_flush_test.o nvidia-uvm/uvm8_mmu_test.o nvidia-uvm/uvm8_peer_identity_mappings_test.o nvidia-uvm/uvm8_va_block_test.o nvidia-uvm/uvm8_range_group_tree_test.o nvidia-uvm/uvm8_rb_tree_test.o | awk '!x[$0]++ { print("/var/lib/dkms/nvidia/390.157/build/"$0) }' > /var/lib/dkms/nvidia/390.157/build/nvidia-uvm.mod
# cmd_mod /var/lib/dkms/nvidia/390.157/build/nvidia-modeset.mod
printf '%s
' nvidia-modeset/nvidia-modeset-linux.o nvidia-modeset/nv-modeset-kernel.o | awk '!x[$0]++ { print("/var/lib/dkms/nvidia/390.157/build/"$0) }' > /var/lib/dkms/nvidia/390.157/build/nvidia-modeset.mod
# SYMLINK /var/lib/dkms/nvidia/390.157/build/nvidia-modeset/nv-modeset-kernel.o
ln -sf /var/lib/dkms/nvidia/390.157/build/nvidia-modeset/nv-modeset-kernel.o_binary /var/lib/dkms/nvidia/390.157/build/nvidia-modeset/nv-modeset-kernel.o
# cmd_mod /var/lib/dkms/nvidia/390.157/build/nvidia-drm.mod
printf '%s
' nvidia-drm/nvidia-drm.o nvidia-drm/nvidia-drm-drv.o nvidia-drm/nvidia-drm-utils.o nvidia-drm/nvidia-drm-crtc.o nvidia-drm/nvidia-drm-encoder.o nvidia-drm/nvidia-drm-connector.o nvidia-drm/nvidia-drm-gem.o nvidia-drm/nvidia-drm-fb.o nvidia-drm/nvidia-drm-modeset.o nvidia-drm/nvidia-drm-prime-fence.o nvidia-drm/nvidia-drm-linux.o nvidia-drm/nvidia-drm-helper.o nvidia-drm/nv-pci-table.o nvidia-drm/nvidia-drm-gem-nvkms-memory.o nvidia-drm/nvidia-drm-gem-user-memory.o | awk '!x[$0]++ { print("/var/lib/dkms/nvidia/390.157/build/"$0) }' > /var/lib/dkms/nvidia/390.157/build/nvidia-drm.mod
CONFTEST: INIT_WORK
CONFTEST: remap_pfn_range
CONFTEST: hash__remap_4k_pfn
CONFTEST: follow_pfn
CONFTEST: vmap
CONFTEST: set_pages_uc
CONFTEST: list_is_first
CONFTEST: set_memory_uc
CONFTEST: set_memory_array_uc
CONFTEST: change_page_attr
CONFTEST: pci_get_class
CONFTEST: pci_choose_state
CONFTEST: vm_insert_page
CONFTEST: acpi_device_id
CONFTEST: acquire_console_sem
CONFTEST: console_lock
CONFTEST: kmem_cache_create
CONFTEST: on_each_cpu
CONFTEST: smp_call_function
CONFTEST: acpi_evaluate_integer
CONFTEST: ioremap_cache
CONFTEST: ioremap_wc
CONFTEST: acpi_walk_namespace
CONFTEST: pci_domain_nr
CONFTEST: sg_alloc_table
CONFTEST: dma_mapping_error
CONFTEST: sg_init_table
CONFTEST: pci_get_domain_bus_and_slot
CONFTEST: get_num_physpages
CONFTEST: efi_enabled
CONFTEST: proc_create_data
CONFTEST: pde_data
CONFTEST: PDE_DATA
CONFTEST: proc_remove
CONFTEST: pm_vt_switch_required
CONFTEST: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: get_dma_ops
CONFTEST: write_cr4
CONFTEST: of_get_property
CONFTEST: of_find_node_by_phandle
CONFTEST: of_node_to_nid
CONFTEST: pnv_pci_get_npu_dev
CONFTEST: for_each_online_node
CONFTEST: node_end_pfn
CONFTEST: pci_bus_address
CONFTEST: pci_stop_and_remove_bus_device
CONFTEST: pci_remove_bus_device
CONFTEST: request_threaded_irq
CONFTEST: register_cpu_notifier
CONFTEST: cpuhp_setup_state
CONFTEST: dma_map_resource
CONFTEST: backlight_device_register
CONFTEST: register_acpi_notifier
CONFTEST: timer_setup
CONFTEST: kmem_cache_create_usercopy
CONFTEST: do_gettimeofday
CONFTEST: dma_direct_map_resource
CONFTEST: vmf_insert_pfn
CONFTEST: jiffies_to_timespec
CONFTEST: ktime_get_raw_ts64
CONFTEST: ktime_get_real_ts64
CONFTEST: ioremap_nocache
CONFTEST: vga_tryget
CONFTEST: unsafe_follow_pfn
CONFTEST: acpi_bus_get_device
CONFTEST: acpi_video_backlight_use_native
CONFTEST: remap_page_range
CONFTEST: address_space_init_once
CONFTEST: kbasename
CONFTEST: fatal_signal_pending
CONFTEST: list_cut_position
CONFTEST: vzalloc
CONFTEST: wait_on_bit_lock_argument_count
CONFTEST: bitmap_clear
CONFTEST: usleep_range
CONFTEST: radix_tree_empty
CONFTEST: radix_tree_replace_slot
CONFTEST: drm_dev_unref
CONFTEST: drm_reinit_primary_mode_group
CONFTEST: get_user_pages_remote
CONFTEST: get_user_pages
CONFTEST: drm_gem_object_lookup
CONFTEST: drm_atomic_state_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_connector_for_each_possible_encoder
CONFTEST: drm_gem_object_put_unlocked
CONFTEST: is_export_symbol_gpl_of_node_to_nid
CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
CONFTEST: is_export_symbol_present_swiotlb_dma_ops
CONFTEST: i2c_adapter
CONFTEST: pm_message_t
CONFTEST: irq_handler_t
CONFTEST: acpi_device_ops
CONFTEST: acpi_op_remove
CONFTEST: outer_flush_all
CONFTEST: proc_dir_entry
CONFTEST: scatterlist
CONFTEST: sg_table
CONFTEST: file_operations
CONFTEST: vm_operations_struct
CONFTEST: atomic_long_type
CONFTEST: pci_save_state
CONFTEST: file_inode
CONFTEST: task_struct
CONFTEST: kuid_t
CONFTEST: dma_ops
CONFTEST: swiotlb_dma_ops
CONFTEST: dma_map_ops
CONFTEST: noncoherent_swiotlb_dma_ops
CONFTEST: vm_fault_present
CONFTEST: vm_fault_has_address
CONFTEST: kernel_write
CONFTEST: strnstr
CONFTEST: iterate_dir
CONFTEST: kstrtoull
CONFTEST: backlight_properties_type
CONFTEST: proc_ops
CONFTEST: timeval
CONFTEST: mm_has_mmap_lock
CONFTEST: kmem_cache_has_kobj_remove_work
CONFTEST: sysfs_slab_unlink
CONFTEST: vmalloc_has_pgprot_t_arg
CONFTEST: pci_dev_has_skip_bus_pm
CONFTEST: pci_channel_state
CONFTEST: fault_flags
CONFTEST: atomic64_type
CONFTEST: address_space
CONFTEST: backing_dev_info
CONFTEST: mm_context_t
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: vm_fault_t
CONFTEST: pnv_npu2_init_context
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_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_mode_connector_list_update_has_merge_type_bits_arg
CONFTEST: drm_helper_mode_fill_fb_struct
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: drm_driver_unload_has_int_return_type
CONFTEST: kref_has_refcount_of_type_refcount_t
CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
CONFTEST: drm_mode_object_find_has_file_priv_arg
CONFTEST: drm_connector_list_iter
CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
CONFTEST: drm_driver_prime_flag_present
CONFTEST: drm_gem_prime_export_has_dev_arg
CONFTEST: drm_gem_object_has_resv
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: dma_resv_add_fence
CONFTEST: dma_resv_reserve_fences
CONFTEST: reservation_object_reserve_shared_has_num_fences_arg
CONFTEST: dom0_kernel_present
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: nvidia_grid_build
CONFTEST: drm_available
CONFTEST: drm_atomic_available
CONFTEST: is_export_symbol_gpl_refcount_inc
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv-frontend.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-frontend.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv_frontend"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-frontend.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-frontend.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-frontend.o
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-instance.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv_instance"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.o
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-gpu-numa.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv_gpu_numa"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.o
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv.o
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-acpi.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.o
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv-chrdev.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-chrdev.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-chrdev.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-chrdev.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-chrdev.o
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv-cray.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-cray.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-cray.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-cray.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-cray.o
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv-dma.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-dma.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-dma.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-dma.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-dma.o
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gvi.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-gvi.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gvi.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gvi.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gvi.o
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv-i2c.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-i2c.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-i2c.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-i2c.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-i2c.o
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mempool.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-mempool.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv_mempool"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mempool.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mempool.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mempool.o
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-mmap.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.o
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv-p2p.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-p2p.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-p2p.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-p2p.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-p2p.o
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv-pat.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-pat.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-pat.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-pat.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-pat.o
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv-procfs.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-procfs.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv_procfs"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-procfs.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-procfs.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-procfs.o
# CC [M] /var/lib/dkms/nvidia/390.157/build/nvidia/nv-usermap.o
x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-usermap.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -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=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"nv_usermap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-usermap.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-usermap.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-usermap.o
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.c:13:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-frontend.c:13:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.c:24:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.c:16:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv.c:13:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-cray.c:15:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gvi.c:15:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-chrdev.c:15:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-i2c.c:15:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mempool.c:15:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c:15:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-p2p.c:15:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-procfs.c:15:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-dma.c:15:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-pat.c:15:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-usermap.c:15:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~
| |
| struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2397:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~
| |
| struct mm_struct *
./include/linux/mm.h:2398:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
2398 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~
| |
| unsigned int
./include/linux/mm.h:2399:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
2399 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
165 | pages, vmas);
| ^~~~~
| |
| struct page **
./include/linux/mm.h:2400:33: note: expected ‘int *’ but argument is of type ‘struct page **’
2400 | int *locked);
| ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
164 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2397:6: note: declared here
2397 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.c: In function ‘gather_memblock_ids_for_node’:
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.c:232:47: warning: cast between incompatible function types from ‘int (*)(struct dir_context *, const char *, int, loff_t, u64, unsigned int)’ {aka ‘int (*)(struct dir_context *, const char *, int, long long int, long long unsigned int, unsigned int)’} to ‘bool (*)(struct dir_context *, const char *, int, loff_t, u64, unsigned int)’ {aka ‘_Bool (*)(struct dir_context *, const char *, int, long long int, long long unsigned int, unsigned int)’} [-Wcast-function-type]
232 | nv_dir_context_t ats_ctx = { .ctx.actor = (filldir_t)filldir_get_memblock_id };
| ^
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.c: In function ‘nv_acpi_methods_uninit’:
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.c:687:25: warning: unused variable ‘device’ [-Wunused-variable]
687 | struct acpi_device *device = NULL;
| ^~~~~~
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv-frontend.o] Error 1
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.o] Error 1
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv-cray.o] Error 1
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv-chrdev.o] Error 1
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv-i2c.o] Error 1
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.o] Error 1
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c: In function ‘nvidia_mmap_helper’:
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c:474:23: error: assignment of read-only member ‘vm_flags’
474 | vma->vm_flags |= VM_IO;
| ^~
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c:536:23: error: assignment of read-only member ‘vm_flags’
536 | vma->vm_flags |= (VM_IO | VM_LOCKED | VM_RESERVED);
| ^~
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c:537:23: error: assignment of read-only member ‘vm_flags’
537 | vma->vm_flags |= (VM_DONTEXPAND | VM_DONTDUMP);
| ^~
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c:543:23: error: assignment of read-only member ‘vm_flags’
543 | vma->vm_flags &= ~VM_WRITE;
| ^~
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c:544:23: error: assignment of read-only member ‘vm_flags’
544 | vma->vm_flags &= ~VM_MAYWRITE;
| ^~
cc1: some warnings being treated as errors
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c: In function ‘nv_encode_caching’:
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c:262:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
262 | if (NV_ALLOW_CACHING(memory_type))
| ^
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c:264:9: note: here
264 | default:
| ^~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mempool.o] Error 1
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gvi.o] Error 1
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.o] Error 1
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv-p2p.o] Error 1
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv-pat.o] Error 1
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv-usermap.o] Error 1
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv-procfs.o] Error 1
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv.o] Error 1
make[3]: *** [scripts/Makefile.build:251: /var/lib/dkms/nvidia/390.157/build/nvidia/nv-dma.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.5.0-14-generic/Makefile:2037: /var/lib/dkms/nvidia/390.157/build] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-14-generic'
make: *** [Makefile:81: modules] Error 2
DKMSKernelVersion: 6.5.0-14-generic
Date: Fri Jan 12 18:44:16 2024
DuplicateSignature: dkms:nvidia-dkms-390:390.157-0ubuntu0.22.04.2:/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
Package: nvidia-dkms-390 390.157-0ubuntu0.22.04.2
PackageVersion: 390.157-0ubuntu0.22.04.2
SourcePackage: nvidia-graphics-drivers-390
Title: nvidia-dkms-390 390.157-0ubuntu0.22.04.2: nvidia kernel module failed to build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment