nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Wed Oct 5 00:39:06 2022 installer version: 470.141.03 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin nvidia-installer command line: ./nvidia-installer --no-backup --no-nouveau-check --disable-nouveau --install-libglvnd --no-peermem Using: nvidia-installer ncurses v6 user interface -> Detected 6 CPUs online; setting concurrency level to 6. -> Installing NVIDIA driver version 470.141.03. -> An alternate method of installing the NVIDIA driver was detected. (This is usually a package provided by your distributor.) A driver installed via that method may integrate better with your system than a driver installed by nvidia-installer. Please review the message provided by the maintainer of this alternate installation method and decide how to proceed: The NVIDIA driver provided by Ubuntu can be installed by launching the "Software & Updates" application, and by selecting the NVIDIA driver from the "Additional Drivers" tab. (Answer: Continue installation) WARNING: The nvidia-peermem module will not be installed. As a result, GPUDirect RDMA p2p memory sharing will not function with this installation of the NVIDIA driver. -> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: No) -> Performing CC sanity check with CC="/usr/bin/cc". -> Performing CC check. -> Kernel source path: '/lib/modules/6.0-060000-generic/build' -> Kernel output path: '/lib/modules/6.0-060000-generic/build' -> Performing Compiler check. -> Performing Dom0 check. -> Performing Xen check. -> Performing PREEMPT_RT check. -> Performing vgpu_kvm check. -> Cleaning kernel module build directory. executing: 'cd ./kernel; /usr/bin/make -k -j6 clean NV_EXCLUDE_KERNEL_MODULES="nvidia-peermem " SYSSRC="/lib/modules/6.0-060000-generic/build" SYSOUT="/lib/modules/6.0-060000-generic/build"'... rm -f -r conftest make[1]: Entering directory '/usr/src/linux-headers-6.0-060000-generic' make[1]: Leaving directory '/usr/src/linux-headers-6.0-060000-generic' -> Building kernel modules executing: 'cd ./kernel; /usr/bin/make -k -j6 NV_EXCLUDE_KERNEL_MODULES="nvidia-peermem " SYSSRC="/lib/modules/6.0-060000-generic/build" SYSOUT="/lib/modules/6.0-060000-generic/build"'... make[1]: Entering directory '/usr/src/linux-headers-6.0-060000-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 You are using: cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 SYMLINK /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-kernel.o SYMLINK /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-modeset/nv-modeset-kernel.o CONFTEST: hash__remap_4k_pfn CONFTEST: set_pages_uc CONFTEST: list_is_first CONFTEST: set_memory_uc CONFTEST: set_memory_array_uc CONFTEST: set_pages_array_uc CONFTEST: acquire_console_sem CONFTEST: console_lock CONFTEST: ioremap_cache CONFTEST: ioremap_wc CONFTEST: acpi_walk_namespace CONFTEST: sg_alloc_table CONFTEST: pci_get_domain_bus_and_slot CONFTEST: get_num_physpages CONFTEST: efi_enabled CONFTEST: pde_data CONFTEST: PDE_DATA CONFTEST: proc_remove CONFTEST: pm_vt_switch_required CONFTEST: xen_ioemu_inject_msi CONFTEST: phys_to_dma CONFTEST: get_dma_ops CONFTEST: dma_attr_macros CONFTEST: dma_map_page_attrs CONFTEST: write_cr4 CONFTEST: of_get_property CONFTEST: of_find_node_by_phandle CONFTEST: of_node_to_nid CONFTEST: pnv_pci_get_npu_dev CONFTEST: of_get_ibm_chip_id CONFTEST: node_end_pfn CONFTEST: pci_bus_address CONFTEST: pci_stop_and_remove_bus_device CONFTEST: pci_remove_bus_device CONFTEST: register_cpu_notifier CONFTEST: cpuhp_setup_state CONFTEST: dma_map_resource CONFTEST: backlight_device_register CONFTEST: get_backlight_device_by_name CONFTEST: timer_setup CONFTEST: pci_enable_msix_range CONFTEST: kernel_read_has_pointer_pos_arg CONFTEST: kernel_write CONFTEST: kthread_create_on_node CONFTEST: of_find_matching_node CONFTEST: dev_is_pci CONFTEST: dma_direct_map_resource CONFTEST: tegra_get_platform CONFTEST: tegra_bpmp_send_receive CONFTEST: flush_cache_all CONFTEST: vmf_insert_pfn CONFTEST: jiffies_to_timespec CONFTEST: ktime_get_raw_ts64 CONFTEST: ktime_get_real_ts64 CONFTEST: full_name_hash CONFTEST: hlist_for_each_entry CONFTEST: pci_enable_atomic_ops_to_root CONFTEST: vga_tryget CONFTEST: pgprot_decrypted CONFTEST: cc_mkdec CONFTEST: iterate_fd CONFTEST: seq_read_iter CONFTEST: sg_page_iter_page CONFTEST: unsafe_follow_pfn CONFTEST: drm_gem_object_get CONFTEST: drm_gem_object_put_unlocked CONFTEST: set_close_on_exec CONFTEST: dma_set_coherent_mask CONFTEST: acpi_bus_get_device CONFTEST: address_space_init_once CONFTEST: kbasename CONFTEST: vzalloc CONFTEST: wait_on_bit_lock_argument_count CONFTEST: bitmap_clear CONFTEST: usleep_range CONFTEST: radix_tree_empty CONFTEST: radix_tree_replace_slot CONFTEST: pnv_npu2_init_context CONFTEST: cpumask_of_node CONFTEST: drm_dev_unref CONFTEST: drm_reinit_primary_mode_group CONFTEST: get_user_pages_remote CONFTEST: get_user_pages CONFTEST: drm_gem_object_lookup CONFTEST: drm_atomic_state_ref_counting CONFTEST: drm_driver_has_gem_prime_res_obj CONFTEST: drm_atomic_helper_connector_dpms CONFTEST: drm_connector_funcs_have_mode_in_name CONFTEST: drm_framebuffer_get CONFTEST: drm_dev_put CONFTEST: drm_format_num_planes CONFTEST: drm_connector_for_each_possible_encoder CONFTEST: drm_rotation_available CONFTEST: drm_vma_offset_exact_lookup_locked CONFTEST: is_export_symbol_gpl_of_node_to_nid CONFTEST: is_export_symbol_gpl_sme_active CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs CONFTEST: is_export_symbol_present_swiotlb_dma_ops CONFTEST: is_export_symbol_present___close_fd CONFTEST: is_export_symbol_present_close_fd CONFTEST: is_export_symbol_present_get_unused_fd CONFTEST: is_export_symbol_present_get_unused_fd_flags CONFTEST: is_export_symbol_present_nvhost_get_default_device CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_byte_offset CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_aperture CONFTEST: is_export_symbol_present_tegra_dce_register_ipc_client CONFTEST: is_export_symbol_present_tegra_dce_unregister_ipc_client CONFTEST: is_export_symbol_present_tegra_dce_client_ipc_send_recv CONFTEST: is_export_symbol_present_dram_clk_to_mc_clk CONFTEST: is_export_symbol_present_get_dram_num_channels CONFTEST: is_export_symbol_present_tegra_dram_types CONFTEST: is_export_symbol_present_kthread_create_on_node CONFTEST: acpi_op_remove CONFTEST: file_operations CONFTEST: file_inode CONFTEST: kuid_t CONFTEST: dma_ops CONFTEST: swiotlb_dma_ops CONFTEST: noncoherent_swiotlb_dma_ops CONFTEST: vm_fault_has_address CONFTEST: backlight_properties_type CONFTEST: vm_insert_pfn_prot CONFTEST: vmf_insert_pfn_prot CONFTEST: vm_ops_fault_removed_vma_arg CONFTEST: vmbus_channel_has_ringbuffer_page CONFTEST: device_driver_of_match_table CONFTEST: device_of_node CONFTEST: node_states_n_memory CONFTEST: kmem_cache_has_kobj_remove_work CONFTEST: sysfs_slab_unlink CONFTEST: proc_ops CONFTEST: timespec64 CONFTEST: vmalloc_has_pgprot_t_arg CONFTEST: acpi_fadt_low_power_s0 CONFTEST: mm_has_mmap_lock CONFTEST: pci_channel_state CONFTEST: mt_device_gre CONFTEST: address_space CONFTEST: backing_dev_info CONFTEST: mm_context_t CONFTEST: vm_fault_t CONFTEST: mmu_notifier_ops_invalidate_range CONFTEST: drm_bus_present CONFTEST: drm_bus_has_bus_type CONFTEST: drm_bus_has_get_irq CONFTEST: drm_bus_has_get_name CONFTEST: drm_driver_has_device_list CONFTEST: drm_driver_has_legacy_dev_list CONFTEST: drm_driver_has_set_busid CONFTEST: drm_crtc_state_has_connectors_changed CONFTEST: drm_init_function_args CONFTEST: drm_helper_mode_fill_fb_struct CONFTEST: drm_master_drop_has_from_release_arg CONFTEST: drm_driver_unload_has_int_return_type CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg CONFTEST: drm_atomic_helper_plane_destroy_state_has_plane_arg CONFTEST: drm_mode_object_find_has_file_priv_arg CONFTEST: dma_buf_owner CONFTEST: drm_connector_list_iter CONFTEST: drm_atomic_helper_swap_state_has_stall_arg CONFTEST: drm_driver_prime_flag_present CONFTEST: drm_gem_object_has_resv CONFTEST: drm_crtc_state_has_async_flip CONFTEST: drm_crtc_state_has_pageflip_flags CONFTEST: drm_format_modifiers_present CONFTEST: drm_vma_node_is_allowed_has_tag_arg CONFTEST: drm_vma_offset_node_has_readonly CONFTEST: drm_display_mode_has_vrefresh CONFTEST: drm_driver_master_set_has_int_return_type CONFTEST: drm_driver_has_gem_free_object CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg CONFTEST: drm_driver_has_gem_prime_callbacks CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg CONFTEST: drm_gem_object_vmap_has_map_arg CONFTEST: drm_plane_atomic_check_has_atomic_state_arg CONFTEST: drm_device_has_pdev CONFTEST: drm_mode_config_has_allow_fb_modifiers 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: nvidia_grid_csp_build CONFTEST: pm_runtime_available CONFTEST: pci_class_multimedia_hd_audio CONFTEST: drm_available CONFTEST: drm_atomic_available CONFTEST: is_export_symbol_gpl_refcount_inc CONFTEST: is_export_symbol_gpl_refcount_dec_and_test CONFTEST: drm_alpha_blending_available CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-pci.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-cray.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-dma.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-i2c.o In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c: In function 'nv_acpi_add': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:270:43: error: 'struct acpi_device' has no member named 'children' 270 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:643:14: note: in definition of macro 'list_for_each_safe' 643 | for (pos = (head)->next, n = pos->next; \ | ^~~~ ./include/linux/list.h:643:25: warning: left-hand operand of comma expression has no effect [-Wunused-value] 643 | for (pos = (head)->next, n = pos->next; \ | ^ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:270:5: note: in expansion of macro 'list_for_each_safe' 270 | list_for_each_safe(node, next, &device->children) | ^~~~~~~~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:270:43: error: 'struct acpi_device' has no member named 'children' 270 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:644:27: note: in definition of macro 'list_for_each_safe' 644 | !list_is_head(pos, (head)); \ | ^~~~ In file included from ./include/linux/container_of.h:5, from ./include/linux/list.h:5, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:273:50: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 273 | list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:273:13: note: in expansion of macro 'list_entry' 273 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ ././include/linux/compiler_types.h:295:27: error: expression in static assertion is not an integer 295 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:273:13: note: in expansion of macro 'list_entry' 273 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ In file included from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv.h:22, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:15, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:273:50: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 273 | list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/stddef.h:16:57: note: in definition of macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:273:13: note: in expansion of macro 'list_entry' 273 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c: In function 'nv_acpi_ddc_method': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1149:43: error: 'struct acpi_device' has no member named 'children' 1149 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:643:14: note: in definition of macro 'list_for_each_safe' 643 | for (pos = (head)->next, n = pos->next; \ | ^~~~ ./include/linux/list.h:643:25: warning: left-hand operand of comma expression has no effect [-Wunused-value] 643 | for (pos = (head)->next, n = pos->next; \ | ^ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1149:5: note: in expansion of macro 'list_for_each_safe' 1149 | list_for_each_safe(node, next, &device->children) | ^~~~~~~~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1149:43: error: 'struct acpi_device' has no member named 'children' 1149 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:644:27: note: in definition of macro 'list_for_each_safe' 644 | !list_is_head(pos, (head)); \ | ^~~~ In file included from ./include/linux/container_of.h:5, from ./include/linux/list.h:5, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1153:50: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 1153 | list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1153:13: note: in expansion of macro 'list_entry' 1153 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-dma.c:963: warning: "IMPORT_SGT_STUBS_NEEDED" redefined 963 | #define IMPORT_SGT_STUBS_NEEDED 0 | /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-dma.c:957: note: this is the location of the previous definition 957 | #define IMPORT_SGT_STUBS_NEEDED 1 | ././include/linux/compiler_types.h:295:27: error: expression in static assertion is not an integer 295 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1153:13: note: in expansion of macro 'list_entry' 1153 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ In file included from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv.h:22, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:15, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1153:50: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 1153 | list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/stddef.h:16:57: note: in definition of macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1153:13: note: in expansion of macro 'list_entry' 1153 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c: In function 'nv_acpi_mux_method': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1574:43: error: 'struct acpi_device' has no member named 'children' 1574 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:643:14: note: in definition of macro 'list_for_each_safe' 643 | for (pos = (head)->next, n = pos->next; \ | ^~~~ ./include/linux/list.h:643:25: warning: left-hand operand of comma expression has no effect [-Wunused-value] 643 | for (pos = (head)->next, n = pos->next; \ | ^ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1574:5: note: in expansion of macro 'list_for_each_safe' 1574 | list_for_each_safe(node, next, &device->children) | ^~~~~~~~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1574:43: error: 'struct acpi_device' has no member named 'children' 1574 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:644:27: note: in definition of macro 'list_for_each_safe' 644 | !list_is_head(pos, (head)); \ | ^~~~ In file included from ./include/linux/container_of.h:5, from ./include/linux/list.h:5, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1576:72: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 1576 | struct acpi_device *dev = list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1576:35: note: in expansion of macro 'list_entry' 1576 | struct acpi_device *dev = list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ ././include/linux/compiler_types.h:295:27: error: expression in static assertion is not an integer 295 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1576:35: note: in expansion of macro 'list_entry' 1576 | struct acpi_device *dev = list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ In file included from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv.h:22, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:15, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1576:72: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 1576 | struct acpi_device *dev = list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/stddef.h:16:57: note: in definition of macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1576:35: note: in expansion of macro 'list_entry' 1576 | struct acpi_device *dev = list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ make[2]: *** [scripts/Makefile.build:249: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.o] Error 1 CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-mmap.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-p2p.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-pat.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-procfs.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-procfs-utils.o /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-mmap.c:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | if (NV_ALLOW_CACHING(memory_type)) | ^ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-mmap.c:333:9: note: here 333 | default: | ^~~~~~~ CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-usermap.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-vm.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-vtophys.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/os-interface.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/os-mlock.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/os-pci.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/os-registry.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/os-usermap.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-modeset-interface.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-pci-table.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-kthread-q.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-memdbg.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-ibmnpu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-report-err.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-rsync.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-msi.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-caps.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-frontend.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv_uvm_interface.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nvlink_linux.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nvlink_caps.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/linux_nvswitch.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/procfs_nvswitch.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/i2c_nvswitch.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_common.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_linux.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/nvstatus.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/nvCpuUuid.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/nv-kthread-q.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/nv-kthread-q-selftest.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_tools.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_global.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_gpu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_gpu_isr.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_procfs.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_va_space.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_va_space_mm.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_gpu_semaphore.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_mem.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_rm_mem.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_channel.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_lock.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_hal.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_range_tree.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_rb_tree.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_range_allocator.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_va_range.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_va_block.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_range_group.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_gpu_replayable_faults.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_gpu_non_replayable_faults.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_gpu_access_counters.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_events.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_module.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_mmu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pte_batch.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_tlb_batch.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_push.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pushbuffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_thread_context.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_tracker.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kepler.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kepler_ce.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kepler_host.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kepler_mmu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kepler_fault_buffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kepler_access_counter_buffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_maxwell.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_maxwell_host.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pascal.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pascal_ce.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pascal_host.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pascal_mmu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pascal_fault_buffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_volta_host.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_volta_mmu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_volta.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_volta_fault_buffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_volta_access_counter_buffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_turing.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_turing_access_counter_buffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_turing_fault_buffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_turing_mmu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_turing_host.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_ampere.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_ampere_ce.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_ampere_host.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_ampere_mmu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_policy.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_utils.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kvmalloc.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pmm_sysmem.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pmm_gpu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_migrate.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_populate_pageable.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_migrate_pageable.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_map_external.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_user_channel.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_hmm.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_heuristics.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_thrashing.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_prefetch.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_ats_ibm.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_ats_faults.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_test_rng.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_range_tree_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_range_allocator_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_gpu_semaphore_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_mem_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_rm_mem_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_page_tree_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_tracker_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_push_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_channel_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_ce_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_host_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_lock_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_utils_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kvmalloc_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pmm_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pmm_sysmem_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_events_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_module_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_get_rm_ptes_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_fault_buffer_flush_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_mmu_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_peer_identity_mappings_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_va_block_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_range_group_tree_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_thread_context_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_rb_tree_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-modeset/nvidia-modeset-linux.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-modeset/nv-kthread-q.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-drv.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-utils.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-crtc.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-encoder.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-connector.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-gem.o /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-crtc.c: In function 'plane_req_config_update': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-crtc.c:89:9: warning: unused variable 'ret' [-Wunused-variable] 89 | int ret = 0; | ^~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-crtc.c: In function 'nv_drm_plane_atomic_set_property': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-crtc.c:371:32: warning: unused variable 'nv_drm_plane_state' [-Wunused-variable] 371 | struct nv_drm_plane_state *nv_drm_plane_state = | ^~~~~~~~~~~~~~~~~~ CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-fb.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-modeset.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-prime-fence.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-linux.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-helper.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nv-pci-table.o /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-modeset.c: In function '__will_generate_flip_event': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-modeset.c:96:23: warning: unused variable 'primary_plane' [-Wunused-variable] 96 | struct drm_plane *primary_plane = crtc->primary; | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-helper.c: In function '__nv_drm_framebuffer_put': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-helper.c:47:5: error: implicit declaration of function 'drm_framebuffer_put' [-Werror=implicit-function-declaration] 47 | drm_framebuffer_put(fb); | ^~~~~~~~~~~~~~~~~~~ CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-gem-dma-buf.o cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:249: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-helper.o] Error 1 CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-format.o LD [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm.o LD [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-modeset.o ld -r -o /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-modeset/nvidia-modeset-linux.o /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-modeset/nv-kthread-q.o make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1858: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-headers-6.0-060000-generic' make: *** [Makefile:80: modules] Error 2 -> Error. ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details. -> The command `cd ./kernel; /usr/bin/make -k -j6 NV_EXCLUDE_KERNEL_MODULES="nvidia-peermem " SYSSRC="/lib/modules/6.0-060000-generic/build" SYSOUT="/lib/modules/6.0-060000-generic/build"` failed with the following output: make[1]: Entering directory '/usr/src/linux-headers-6.0-060000-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 You are using: cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 SYMLINK /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-kernel.o SYMLINK /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-modeset/nv-modeset-kernel.o CONFTEST: hash__remap_4k_pfn CONFTEST: set_pages_uc CONFTEST: list_is_first CONFTEST: set_memory_uc CONFTEST: set_memory_array_uc CONFTEST: set_pages_array_uc CONFTEST: acquire_console_sem CONFTEST: console_lock CONFTEST: ioremap_cache CONFTEST: ioremap_wc CONFTEST: acpi_walk_namespace CONFTEST: sg_alloc_table CONFTEST: pci_get_domain_bus_and_slot CONFTEST: get_num_physpages CONFTEST: efi_enabled CONFTEST: pde_data CONFTEST: PDE_DATA CONFTEST: proc_remove CONFTEST: pm_vt_switch_required CONFTEST: xen_ioemu_inject_msi CONFTEST: phys_to_dma CONFTEST: get_dma_ops CONFTEST: dma_attr_macros CONFTEST: dma_map_page_attrs CONFTEST: write_cr4 CONFTEST: of_get_property CONFTEST: of_find_node_by_phandle CONFTEST: of_node_to_nid CONFTEST: pnv_pci_get_npu_dev CONFTEST: of_get_ibm_chip_id CONFTEST: node_end_pfn CONFTEST: pci_bus_address CONFTEST: pci_stop_and_remove_bus_device CONFTEST: pci_remove_bus_device CONFTEST: register_cpu_notifier CONFTEST: cpuhp_setup_state CONFTEST: dma_map_resource CONFTEST: backlight_device_register CONFTEST: get_backlight_device_by_name CONFTEST: timer_setup CONFTEST: pci_enable_msix_range CONFTEST: kernel_read_has_pointer_pos_arg CONFTEST: kernel_write CONFTEST: kthread_create_on_node CONFTEST: of_find_matching_node CONFTEST: dev_is_pci CONFTEST: dma_direct_map_resource CONFTEST: tegra_get_platform CONFTEST: tegra_bpmp_send_receive CONFTEST: flush_cache_all CONFTEST: vmf_insert_pfn CONFTEST: jiffies_to_timespec CONFTEST: ktime_get_raw_ts64 CONFTEST: ktime_get_real_ts64 CONFTEST: full_name_hash CONFTEST: hlist_for_each_entry CONFTEST: pci_enable_atomic_ops_to_root CONFTEST: vga_tryget CONFTEST: pgprot_decrypted CONFTEST: cc_mkdec CONFTEST: iterate_fd CONFTEST: seq_read_iter CONFTEST: sg_page_iter_page CONFTEST: unsafe_follow_pfn CONFTEST: drm_gem_object_get CONFTEST: drm_gem_object_put_unlocked CONFTEST: set_close_on_exec CONFTEST: dma_set_coherent_mask CONFTEST: acpi_bus_get_device CONFTEST: address_space_init_once CONFTEST: kbasename CONFTEST: vzalloc CONFTEST: wait_on_bit_lock_argument_count CONFTEST: bitmap_clear CONFTEST: usleep_range CONFTEST: radix_tree_empty CONFTEST: radix_tree_replace_slot CONFTEST: pnv_npu2_init_context CONFTEST: cpumask_of_node CONFTEST: drm_dev_unref CONFTEST: drm_reinit_primary_mode_group CONFTEST: get_user_pages_remote CONFTEST: get_user_pages CONFTEST: drm_gem_object_lookup CONFTEST: drm_atomic_state_ref_counting CONFTEST: drm_driver_has_gem_prime_res_obj CONFTEST: drm_atomic_helper_connector_dpms CONFTEST: drm_connector_funcs_have_mode_in_name CONFTEST: drm_framebuffer_get CONFTEST: drm_dev_put CONFTEST: drm_format_num_planes CONFTEST: drm_connector_for_each_possible_encoder CONFTEST: drm_rotation_available CONFTEST: drm_vma_offset_exact_lookup_locked CONFTEST: is_export_symbol_gpl_of_node_to_nid CONFTEST: is_export_symbol_gpl_sme_active CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs CONFTEST: is_export_symbol_present_swiotlb_dma_ops CONFTEST: is_export_symbol_present___close_fd CONFTEST: is_export_symbol_present_close_fd CONFTEST: is_export_symbol_present_get_unused_fd CONFTEST: is_export_symbol_present_get_unused_fd_flags CONFTEST: is_export_symbol_present_nvhost_get_default_device CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_byte_offset CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_aperture CONFTEST: is_export_symbol_present_tegra_dce_register_ipc_client CONFTEST: is_export_symbol_present_tegra_dce_unregister_ipc_client CONFTEST: is_export_symbol_present_tegra_dce_client_ipc_send_recv CONFTEST: is_export_symbol_present_dram_clk_to_mc_clk CONFTEST: is_export_symbol_present_get_dram_num_channels CONFTEST: is_export_symbol_present_tegra_dram_types CONFTEST: is_export_symbol_present_kthread_create_on_node CONFTEST: acpi_op_remove CONFTEST: file_operations CONFTEST: file_inode CONFTEST: kuid_t CONFTEST: dma_ops CONFTEST: swiotlb_dma_ops CONFTEST: noncoherent_swiotlb_dma_ops CONFTEST: vm_fault_has_address CONFTEST: backlight_properties_type CONFTEST: vm_insert_pfn_prot CONFTEST: vmf_insert_pfn_prot CONFTEST: vm_ops_fault_removed_vma_arg CONFTEST: vmbus_channel_has_ringbuffer_page CONFTEST: device_driver_of_match_table CONFTEST: device_of_node CONFTEST: node_states_n_memory CONFTEST: kmem_cache_has_kobj_remove_work CONFTEST: sysfs_slab_unlink CONFTEST: proc_ops CONFTEST: timespec64 CONFTEST: vmalloc_has_pgprot_t_arg CONFTEST: acpi_fadt_low_power_s0 CONFTEST: mm_has_mmap_lock CONFTEST: pci_channel_state CONFTEST: mt_device_gre CONFTEST: address_space CONFTEST: backing_dev_info CONFTEST: mm_context_t CONFTEST: vm_fault_t CONFTEST: mmu_notifier_ops_invalidate_range CONFTEST: drm_bus_present CONFTEST: drm_bus_has_bus_type CONFTEST: drm_bus_has_get_irq CONFTEST: drm_bus_has_get_name CONFTEST: drm_driver_has_device_list CONFTEST: drm_driver_has_legacy_dev_list CONFTEST: drm_driver_has_set_busid CONFTEST: drm_crtc_state_has_connectors_changed CONFTEST: drm_init_function_args CONFTEST: drm_helper_mode_fill_fb_struct CONFTEST: drm_master_drop_has_from_release_arg CONFTEST: drm_driver_unload_has_int_return_type CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg CONFTEST: drm_atomic_helper_plane_destroy_state_has_plane_arg CONFTEST: drm_mode_object_find_has_file_priv_arg CONFTEST: dma_buf_owner CONFTEST: drm_connector_list_iter CONFTEST: drm_atomic_helper_swap_state_has_stall_arg CONFTEST: drm_driver_prime_flag_present CONFTEST: drm_gem_object_has_resv CONFTEST: drm_crtc_state_has_async_flip CONFTEST: drm_crtc_state_has_pageflip_flags CONFTEST: drm_format_modifiers_present CONFTEST: drm_vma_node_is_allowed_has_tag_arg CONFTEST: drm_vma_offset_node_has_readonly CONFTEST: drm_display_mode_has_vrefresh CONFTEST: drm_driver_master_set_has_int_return_type CONFTEST: drm_driver_has_gem_free_object CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg CONFTEST: drm_driver_has_gem_prime_callbacks CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg CONFTEST: drm_gem_object_vmap_has_map_arg CONFTEST: drm_plane_atomic_check_has_atomic_state_arg CONFTEST: drm_device_has_pdev CONFTEST: drm_mode_config_has_allow_fb_modifiers 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: nvidia_grid_csp_build CONFTEST: pm_runtime_available CONFTEST: pci_class_multimedia_hd_audio CONFTEST: drm_available CONFTEST: drm_atomic_available CONFTEST: is_export_symbol_gpl_refcount_inc CONFTEST: is_export_symbol_gpl_refcount_dec_and_test CONFTEST: drm_alpha_blending_available CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-pci.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-cray.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-dma.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-i2c.o In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c: In function 'nv_acpi_add': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:270:43: error: 'struct acpi_device' has no member named 'children' 270 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:643:14: note: in definition of macro 'list_for_each_safe' 643 | for (pos = (head)->next, n = pos->next; \ | ^~~~ ./include/linux/list.h:643:25: warning: left-hand operand of comma expression has no effect [-Wunused-value] 643 | for (pos = (head)->next, n = pos->next; \ | ^ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:270:5: note: in expansion of macro 'list_for_each_safe' 270 | list_for_each_safe(node, next, &device->children) | ^~~~~~~~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:270:43: error: 'struct acpi_device' has no member named 'children' 270 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:644:27: note: in definition of macro 'list_for_each_safe' 644 | !list_is_head(pos, (head)); \ | ^~~~ In file included from ./include/linux/container_of.h:5, from ./include/linux/list.h:5, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:273:50: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 273 | list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:273:13: note: in expansion of macro 'list_entry' 273 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ ././include/linux/compiler_types.h:295:27: error: expression in static assertion is not an integer 295 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:273:13: note: in expansion of macro 'list_entry' 273 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ In file included from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv.h:22, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:15, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:273:50: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 273 | list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/stddef.h:16:57: note: in definition of macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:273:13: note: in expansion of macro 'list_entry' 273 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c: In function 'nv_acpi_ddc_method': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1149:43: error: 'struct acpi_device' has no member named 'children' 1149 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:643:14: note: in definition of macro 'list_for_each_safe' 643 | for (pos = (head)->next, n = pos->next; \ | ^~~~ ./include/linux/list.h:643:25: warning: left-hand operand of comma expression has no effect [-Wunused-value] 643 | for (pos = (head)->next, n = pos->next; \ | ^ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1149:5: note: in expansion of macro 'list_for_each_safe' 1149 | list_for_each_safe(node, next, &device->children) | ^~~~~~~~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1149:43: error: 'struct acpi_device' has no member named 'children' 1149 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:644:27: note: in definition of macro 'list_for_each_safe' 644 | !list_is_head(pos, (head)); \ | ^~~~ In file included from ./include/linux/container_of.h:5, from ./include/linux/list.h:5, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1153:50: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 1153 | list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1153:13: note: in expansion of macro 'list_entry' 1153 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-dma.c:963: warning: "IMPORT_SGT_STUBS_NEEDED" redefined 963 | #define IMPORT_SGT_STUBS_NEEDED 0 | /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-dma.c:957: note: this is the location of the previous definition 957 | #define IMPORT_SGT_STUBS_NEEDED 1 | ././include/linux/compiler_types.h:295:27: error: expression in static assertion is not an integer 295 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1153:13: note: in expansion of macro 'list_entry' 1153 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ In file included from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv.h:22, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:15, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1153:50: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 1153 | list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/stddef.h:16:57: note: in definition of macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1153:13: note: in expansion of macro 'list_entry' 1153 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c: In function 'nv_acpi_mux_method': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1574:43: error: 'struct acpi_device' has no member named 'children' 1574 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:643:14: note: in definition of macro 'list_for_each_safe' 643 | for (pos = (head)->next, n = pos->next; \ | ^~~~ ./include/linux/list.h:643:25: warning: left-hand operand of comma expression has no effect [-Wunused-value] 643 | for (pos = (head)->next, n = pos->next; \ | ^ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1574:5: note: in expansion of macro 'list_for_each_safe' 1574 | list_for_each_safe(node, next, &device->children) | ^~~~~~~~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1574:43: error: 'struct acpi_device' has no member named 'children' 1574 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:644:27: note: in definition of macro 'list_for_each_safe' 644 | !list_is_head(pos, (head)); \ | ^~~~ In file included from ./include/linux/container_of.h:5, from ./include/linux/list.h:5, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1576:72: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 1576 | struct acpi_device *dev = list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1576:35: note: in expansion of macro 'list_entry' 1576 | struct acpi_device *dev = list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ ././include/linux/compiler_types.h:295:27: error: expression in static assertion is not an integer 295 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1576:35: note: in expansion of macro 'list_entry' 1576 | struct acpi_device *dev = list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ In file included from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv.h:22, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:15, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1576:72: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 1576 | struct acpi_device *dev = list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/stddef.h:16:57: note: in definition of macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1576:35: note: in expansion of macro 'list_entry' 1576 | struct acpi_device *dev = list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ make[2]: *** [scripts/Makefile.build:249: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.o] Error 1 CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-mmap.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-p2p.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-pat.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-procfs.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-procfs-utils.o /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-mmap.c: In function 'nv_encode_caching': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-mmap.c:330:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 330 | if (NV_ALLOW_CACHING(memory_type)) | ^ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-mmap.c:333:9: note: here 333 | default: | ^~~~~~~ CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-usermap.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-vm.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-vtophys.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/os-interface.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/os-mlock.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/os-pci.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/os-registry.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/os-usermap.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-modeset-interface.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-pci-table.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-kthread-q.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-memdbg.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-ibmnpu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-report-err.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-rsync.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-msi.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-caps.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-frontend.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv_uvm_interface.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nvlink_linux.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nvlink_caps.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/linux_nvswitch.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/procfs_nvswitch.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/i2c_nvswitch.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_common.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_linux.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/nvstatus.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/nvCpuUuid.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/nv-kthread-q.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/nv-kthread-q-selftest.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_tools.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_global.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_gpu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_gpu_isr.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_procfs.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_va_space.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_va_space_mm.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_gpu_semaphore.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_mem.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_rm_mem.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_channel.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_lock.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_hal.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_range_tree.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_rb_tree.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_range_allocator.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_va_range.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_va_block.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_range_group.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_gpu_replayable_faults.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_gpu_non_replayable_faults.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_gpu_access_counters.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_events.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_module.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_mmu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pte_batch.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_tlb_batch.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_push.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pushbuffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_thread_context.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_tracker.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kepler.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kepler_ce.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kepler_host.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kepler_mmu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kepler_fault_buffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kepler_access_counter_buffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_maxwell.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_maxwell_host.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pascal.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pascal_ce.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pascal_host.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pascal_mmu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pascal_fault_buffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_volta_host.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_volta_mmu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_volta.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_volta_fault_buffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_volta_access_counter_buffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_turing.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_turing_access_counter_buffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_turing_fault_buffer.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_turing_mmu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_turing_host.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_ampere.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_ampere_ce.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_ampere_host.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_ampere_mmu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_policy.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_utils.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kvmalloc.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pmm_sysmem.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pmm_gpu.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_migrate.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_populate_pageable.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_migrate_pageable.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_map_external.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_user_channel.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_hmm.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_heuristics.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_thrashing.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_prefetch.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_ats_ibm.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_ats_faults.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_test_rng.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_range_tree_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_range_allocator_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_gpu_semaphore_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_mem_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_rm_mem_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_page_tree_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_tracker_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_push_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_channel_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_ce_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_host_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_lock_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_utils_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_kvmalloc_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pmm_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_pmm_sysmem_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_events_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_perf_module_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_get_rm_ptes_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_fault_buffer_flush_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_mmu_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_peer_identity_mappings_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_va_block_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_range_group_tree_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_thread_context_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm/uvm_rb_tree_test.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-modeset/nvidia-modeset-linux.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-modeset/nv-kthread-q.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-drv.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-utils.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-crtc.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-encoder.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-connector.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-gem.o /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-crtc.c: In function 'plane_req_config_update': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-crtc.c:89:9: warning: unused variable 'ret' [-Wunused-variable] 89 | int ret = 0; | ^~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-crtc.c: In function 'nv_drm_plane_atomic_set_property': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-crtc.c:371:32: warning: unused variable 'nv_drm_plane_state' [-Wunused-variable] 371 | struct nv_drm_plane_state *nv_drm_plane_state = | ^~~~~~~~~~~~~~~~~~ CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-fb.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-modeset.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-prime-fence.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-linux.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-helper.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nv-pci-table.o /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-modeset.c: In function '__will_generate_flip_event': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-modeset.c:96:23: warning: unused variable 'primary_plane' [-Wunused-variable] 96 | struct drm_plane *primary_plane = crtc->primary; | ^~~~~~~~~~~~~ CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-helper.c: In function '__nv_drm_framebuffer_put': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-helper.c:47:5: error: implicit declaration of function 'drm_framebuffer_put' [-Werror=implicit-function-declaration] 47 | drm_framebuffer_put(fb); | ^~~~~~~~~~~~~~~~~~~ CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-gem-dma-buf.o cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:249: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-helper.o] Error 1 CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-drm/nvidia-drm-format.o LD [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-uvm.o LD [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-modeset.o ld -r -o /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-modeset/nvidia-modeset-linux.o /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia-modeset/nv-kthread-q.o make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1858: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-headers-6.0-060000-generic' make: *** [Makefile:80: modules] Error 2 -> Checking to see whether the nvidia kernel module was successfully built executing: 'cd ./kernel; /usr/bin/make -k -j6 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="nvidia-peermem " SYSSRC="/lib/modules/6.0-060000-generic/build" SYSOUT="/lib/modules/6.0-060000-generic/build"'... make[1]: Entering directory '/usr/src/linux-headers-6.0-060000-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 You are using: cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 CC [M] /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.o In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c: In function 'nv_acpi_add': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:270:43: error: 'struct acpi_device' has no member named 'children' 270 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:643:14: note: in definition of macro 'list_for_each_safe' 643 | for (pos = (head)->next, n = pos->next; \ | ^~~~ ./include/linux/list.h:643:25: warning: left-hand operand of comma expression has no effect [-Wunused-value] 643 | for (pos = (head)->next, n = pos->next; \ | ^ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:270:5: note: in expansion of macro 'list_for_each_safe' 270 | list_for_each_safe(node, next, &device->children) | ^~~~~~~~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:270:43: error: 'struct acpi_device' has no member named 'children' 270 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:644:27: note: in definition of macro 'list_for_each_safe' 644 | !list_is_head(pos, (head)); \ | ^~~~ In file included from ./include/linux/container_of.h:5, from ./include/linux/list.h:5, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:273:50: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 273 | list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:273:13: note: in expansion of macro 'list_entry' 273 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ ././include/linux/compiler_types.h:295:27: error: expression in static assertion is not an integer 295 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:273:13: note: in expansion of macro 'list_entry' 273 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ In file included from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv.h:22, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:15, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:273:50: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 273 | list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/stddef.h:16:57: note: in definition of macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:273:13: note: in expansion of macro 'list_entry' 273 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c: In function 'nv_acpi_ddc_method': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1149:43: error: 'struct acpi_device' has no member named 'children' 1149 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:643:14: note: in definition of macro 'list_for_each_safe' 643 | for (pos = (head)->next, n = pos->next; \ | ^~~~ ./include/linux/list.h:643:25: warning: left-hand operand of comma expression has no effect [-Wunused-value] 643 | for (pos = (head)->next, n = pos->next; \ | ^ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1149:5: note: in expansion of macro 'list_for_each_safe' 1149 | list_for_each_safe(node, next, &device->children) | ^~~~~~~~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1149:43: error: 'struct acpi_device' has no member named 'children' 1149 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:644:27: note: in definition of macro 'list_for_each_safe' 644 | !list_is_head(pos, (head)); \ | ^~~~ In file included from ./include/linux/container_of.h:5, from ./include/linux/list.h:5, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1153:50: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 1153 | list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1153:13: note: in expansion of macro 'list_entry' 1153 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ ././include/linux/compiler_types.h:295:27: error: expression in static assertion is not an integer 295 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1153:13: note: in expansion of macro 'list_entry' 1153 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ In file included from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv.h:22, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:15, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1153:50: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 1153 | list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/stddef.h:16:57: note: in definition of macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1153:13: note: in expansion of macro 'list_entry' 1153 | list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ In file included from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c: In function 'nv_acpi_mux_method': /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1574:43: error: 'struct acpi_device' has no member named 'children' 1574 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:643:14: note: in definition of macro 'list_for_each_safe' 643 | for (pos = (head)->next, n = pos->next; \ | ^~~~ ./include/linux/list.h:643:25: warning: left-hand operand of comma expression has no effect [-Wunused-value] 643 | for (pos = (head)->next, n = pos->next; \ | ^ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1574:5: note: in expansion of macro 'list_for_each_safe' 1574 | list_for_each_safe(node, next, &device->children) | ^~~~~~~~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1574:43: error: 'struct acpi_device' has no member named 'children' 1574 | list_for_each_safe(node, next, &device->children) | ^~ ./include/linux/list.h:644:27: note: in definition of macro 'list_for_each_safe' 644 | !list_is_head(pos, (head)); \ | ^~~~ In file included from ./include/linux/container_of.h:5, from ./include/linux/list.h:5, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:55, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-lock.h:16, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:19, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1576:72: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 1576 | struct acpi_device *dev = list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1576:35: note: in expansion of macro 'list_entry' 1576 | struct acpi_device *dev = list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ ././include/linux/compiler_types.h:295:27: error: expression in static assertion is not an integer 295 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ ./include/linux/container_of.h:19:2: note: in expansion of macro 'static_assert' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ ./include/linux/container_of.h:19:16: note: in expansion of macro '__same_type' 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1576:35: note: in expansion of macro 'list_entry' 1576 | struct acpi_device *dev = list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ In file included from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv.h:22, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/common/inc/nv-linux.h:15, from /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:14: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1576:72: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'? 1576 | struct acpi_device *dev = list_entry(node, struct acpi_device, node); | ^~~~ ./include/linux/stddef.h:16:57: note: in definition of macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~ ./include/linux/list.h:520:2: note: in expansion of macro 'container_of' 520 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.c:1576:35: note: in expansion of macro 'list_entry' 1576 | struct acpi_device *dev = list_entry(node, struct acpi_device, node); | ^~~~~~~~~~ make[2]: *** [scripts/Makefile.build:249: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel/nvidia/nv-acpi.o] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1858: /tmp/selfgz1420/NVIDIA-Linux-x86_64-470.141.03/kernel] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-headers-6.0-060000-generic' make: *** [Makefile:80: modules] Error 2 -> Error.