DKMS (dkms-3.1.6) make.log for nvidia/390.157 for kernel 6.14.0-zen1-1-zen (x86_64) Tue Mar 25 09:29:13 AM UTC 2025 Cleaning build area # command: make -C /usr/lib/modules/6.14.0-zen1-1-zen/build M=/var/lib/dkms/nvidia/390.157/build clean make: Entering directory '/usr/lib/modules/6.14.0-zen1-1-zen/build' make[1]: Entering directory '/var/lib/dkms/nvidia/390.157/build' make[1]: Leaving directory '/var/lib/dkms/nvidia/390.157/build' make: Leaving directory '/usr/lib/modules/6.14.0-zen1-1-zen/build' # exit code: 0 # elapsed time: 00:00:00 ---------------------------------------------------------------- Building module(s) # command: 'make' -j4 IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=6.14.0-zen1-1-zen modules make[1]: Entering directory '/usr/lib/modules/6.14.0-zen1-1-zen/build' make[2]: Entering directory '/var/lib/dkms/nvidia/390.157/build' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (GCC) 14.2.1 20250207 You are using: cc (GCC) 14.2.1 20250207 SYMLINK nvidia/nv-kernel.o SYMLINK nvidia-modeset/nv-modeset-kernel.o CONFTEST: INIT_WORK CONFTEST: remap_pfn_range CONFTEST: hash__remap_4k_pfn CONFTEST: follow_pfn CONFTEST: vmap CONFTEST: set_pages_uc CONFTEST: list_is_first CONFTEST: set_memory_uc CONFTEST: set_memory_array_uc CONFTEST: change_page_attr CONFTEST: pci_get_class CONFTEST: pci_choose_state CONFTEST: vm_insert_page CONFTEST: acpi_device_id CONFTEST: acquire_console_sem CONFTEST: console_lock CONFTEST: kmem_cache_create CONFTEST: on_each_cpu CONFTEST: smp_call_function CONFTEST: acpi_evaluate_integer CONFTEST: ioremap_cache CONFTEST: ioremap_wc CONFTEST: acpi_walk_namespace CONFTEST: pci_domain_nr CONFTEST: dma_mapping_error CONFTEST: sg_alloc_table CONFTEST: sg_init_table CONFTEST: pci_get_domain_bus_and_slot CONFTEST: get_num_physpages CONFTEST: efi_enabled CONFTEST: proc_create_data CONFTEST: pde_data CONFTEST: PDE_DATA CONFTEST: proc_remove CONFTEST: pm_vt_switch_required CONFTEST: xen_ioemu_inject_msi CONFTEST: phys_to_dma CONFTEST: get_dma_ops CONFTEST: write_cr4 CONFTEST: of_get_property CONFTEST: of_find_node_by_phandle CONFTEST: of_node_to_nid CONFTEST: pnv_pci_get_npu_dev CONFTEST: for_each_online_node CONFTEST: node_end_pfn CONFTEST: pci_bus_address CONFTEST: pci_stop_and_remove_bus_device CONFTEST: pci_remove_bus_device CONFTEST: request_threaded_irq CONFTEST: register_cpu_notifier CONFTEST: cpuhp_setup_state CONFTEST: dma_map_resource CONFTEST: backlight_device_register CONFTEST: register_acpi_notifier CONFTEST: timer_setup CONFTEST: kmem_cache_create_usercopy CONFTEST: do_gettimeofday CONFTEST: dma_direct_map_resource CONFTEST: vmf_insert_pfn CONFTEST: jiffies_to_timespec CONFTEST: ktime_get_raw_ts64 CONFTEST: ktime_get_real_ts64 CONFTEST: ioremap_nocache CONFTEST: vga_tryget CONFTEST: acpi_bus_get_device CONFTEST: acpi_video_backlight_use_native CONFTEST: remap_page_range CONFTEST: address_space_init_once CONFTEST: kbasename CONFTEST: fatal_signal_pending CONFTEST: list_cut_position CONFTEST: vzalloc CONFTEST: wait_on_bit_lock_argument_count CONFTEST: bitmap_clear CONFTEST: usleep_range CONFTEST: radix_tree_empty CONFTEST: radix_tree_replace_slot CONFTEST: drm_dev_unref CONFTEST: drm_reinit_primary_mode_group CONFTEST: get_user_pages_remote CONFTEST: get_user_pages CONFTEST: drm_gem_object_lookup CONFTEST: drm_atomic_state_ref_counting CONFTEST: drm_driver_has_gem_prime_res_obj CONFTEST: drm_atomic_helper_connector_dpms CONFTEST: drm_connector_funcs_have_mode_in_name CONFTEST: drm_framebuffer_get CONFTEST: drm_gem_object_get CONFTEST: drm_dev_put CONFTEST: drm_connector_for_each_possible_encoder CONFTEST: drm_gem_object_put_unlocked CONFTEST: is_export_symbol_gpl_of_node_to_nid CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs CONFTEST: is_export_symbol_present_swiotlb_dma_ops CONFTEST: i2c_adapter CONFTEST: pm_message_t CONFTEST: irq_handler_t CONFTEST: acpi_device_ops CONFTEST: acpi_op_remove CONFTEST: outer_flush_all CONFTEST: proc_dir_entry CONFTEST: scatterlist CONFTEST: sg_table CONFTEST: file_operations CONFTEST: vm_operations_struct CONFTEST: atomic_long_type CONFTEST: pci_save_state CONFTEST: file_inode CONFTEST: task_struct CONFTEST: kuid_t CONFTEST: dma_ops CONFTEST: swiotlb_dma_ops CONFTEST: dma_map_ops CONFTEST: noncoherent_swiotlb_dma_ops CONFTEST: vm_fault_present CONFTEST: vm_fault_has_address CONFTEST: kernel_write CONFTEST: strnstr CONFTEST: iterate_dir CONFTEST: kstrtoull CONFTEST: backlight_properties_type CONFTEST: proc_ops CONFTEST: timeval CONFTEST: mm_has_mmap_lock CONFTEST: kmem_cache_has_kobj_remove_work CONFTEST: sysfs_slab_unlink CONFTEST: vmalloc_has_pgprot_t_arg CONFTEST: pci_dev_has_skip_bus_pm CONFTEST: pci_channel_state CONFTEST: fault_flags CONFTEST: atomic64_type CONFTEST: address_space CONFTEST: backing_dev_info CONFTEST: mm_context_t CONFTEST: vm_ops_fault_removed_vma_arg CONFTEST: vm_fault_t CONFTEST: pnv_npu2_init_context CONFTEST: drm_bus_present CONFTEST: drm_bus_has_bus_type CONFTEST: drm_bus_has_get_irq CONFTEST: drm_bus_has_get_name CONFTEST: drm_driver_has_device_list CONFTEST: drm_driver_has_legacy_dev_list CONFTEST: drm_driver_has_set_busid CONFTEST: drm_crtc_state_has_connectors_changed CONFTEST: drm_init_function_args CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg CONFTEST: drm_helper_mode_fill_fb_struct CONFTEST: drm_master_drop_has_from_release_arg CONFTEST: drm_driver_unload_has_int_return_type CONFTEST: kref_has_refcount_of_type_refcount_t CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg CONFTEST: drm_mode_object_find_has_file_priv_arg CONFTEST: drm_connector_list_iter CONFTEST: drm_atomic_helper_swap_state_has_stall_arg CONFTEST: drm_driver_prime_flag_present CONFTEST: drm_gem_prime_export_has_dev_arg CONFTEST: drm_gem_object_has_resv CONFTEST: drm_display_mode_has_vrefresh CONFTEST: drm_driver_master_set_has_int_return_type CONFTEST: drm_driver_has_gem_free_object CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg CONFTEST: drm_driver_has_gem_prime_callbacks CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg CONFTEST: drm_gem_object_vmap_has_map_arg CONFTEST: drm_plane_atomic_check_has_atomic_state_arg CONFTEST: drm_device_has_pdev CONFTEST: dma_resv_add_fence CONFTEST: dma_resv_reserve_fences CONFTEST: reservation_object_reserve_shared_has_num_fences_arg CONFTEST: dom0_kernel_present CONFTEST: nvidia_vgpu_kvm_build CONFTEST: nvidia_grid_build CONFTEST: drm_available CONFTEST: drm_atomic_available CONFTEST: is_export_symbol_gpl_refcount_inc CONFTEST: is_export_symbol_gpl_refcount_dec_and_test CC [M] nvidia/nv-frontend.o CC [M] nvidia/nv-instance.o CC [M] nvidia/nv-gpu-numa.o CC [M] nvidia/nv.o In file included from nvidia/nv-gpu-numa.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia/nv-frontend.c:13: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia/nv-gpu-numa.c: In function ‘gather_memblock_ids_for_node’: nvidia/nv-gpu-numa.c:232:47: warning: cast between incompatible function types from ‘int (*)(struct dir_context *, const char *, int, loff_t, u64, unsigned int)’ {aka ‘int (*)(struct dir_context *, const char *, int, long long int, long long unsigned int, unsigned int)’} to ‘bool (*)(struct dir_context *, const char *, int, loff_t, u64, unsigned int)’ {aka ‘_Bool (*)(struct dir_context *, const char *, int, long long int, long long unsigned int, unsigned int)’} [-Wcast-function-type] 232 | nv_dir_context_t ats_ctx = { .ctx.actor = (filldir_t)filldir_get_memblock_id }; | ^ In file included from nvidia/nv-instance.c:13: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia/nv-instance.c: At top level: nvidia/nv-instance.c:68:1: warning: no previous prototype for ‘nv_pci_register_driver’ [-Wmissing-prototypes] 68 | nv_pci_register_driver( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from nvidia/nv.c:13: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia/nv.c: In function ‘nvos_create_alloc’: ././common/inc/nv-linux.h:611:37: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 611 | NV_MEMDBG_ADD(ptr, size); \ | ^ nvidia/nv.c:349:5: note: in expansion of macro ‘NV_KMALLOC’ 349 | NV_KMALLOC(at, sizeof(nv_alloc_t)); | ^~~~~~~~~~ nvidia/nv.c: At top level: nvidia/nv.c:771:12: warning: no previous prototype for ‘nvidia_init_module’ [-Wmissing-prototypes] 771 | int __init nvidia_init_module(void) | ^~~~~~~~~~~~~~~~~~ nvidia/nv.c:1161:6: warning: no previous prototype for ‘nvidia_exit_module’ [-Wmissing-prototypes] 1161 | void nvidia_exit_module(void) | ^~~~~~~~~~~~~~~~~~ nvidia/nv.c: In function ‘nv_alloc_file_private’: ././common/inc/nv-linux.h:611:37: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 611 | NV_MEMDBG_ADD(ptr, size); \ | ^ nvidia/nv.c:1232:5: note: in expansion of macro ‘NV_KMALLOC’ 1232 | NV_KMALLOC(nvfp, sizeof(nv_file_private_t)); | ^~~~~~~~~~ nvidia/nv.c: In function ‘nvidia_ioctl’: ././common/inc/nv-linux.h:611:37: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 611 | NV_MEMDBG_ADD(ptr, size); \ | ^ nvidia/nv.c:2175:5: note: in expansion of macro ‘NV_KMALLOC’ 2175 | NV_KMALLOC(arg_copy, arg_size); | ^~~~~~~~~~ ././common/inc/nv-linux.h:611:37: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 611 | NV_MEMDBG_ADD(ptr, size); \ | ^ nvidia/nv.c:2292:13: note: in expansion of macro ‘NV_KMALLOC’ 2292 | NV_KMALLOC(nvfp->attached_gpus, sizeof(NvU32) * num_arg_gpus); | ^~~~~~~~~~ nvidia/nv.c: In function ‘nv_map_guest_pages’: ././common/inc/nv-linux.h:611:37: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 611 | NV_MEMDBG_ADD(ptr, size); \ | ^ nvidia/nv.c:2764:5: note: in expansion of macro ‘NV_KMALLOC’ 2764 | NV_KMALLOC(pages, sizeof(struct page *) * page_count); | ^~~~~~~~~~ CC [M] nvidia/nv-acpi.o nvidia/nv.c: In function ‘nv_alloc_kernel_mapping’: ././common/inc/nv-linux.h:611:37: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 611 | NV_MEMDBG_ADD(ptr, size); \ | ^ nvidia/nv.c:3027:13: note: in expansion of macro ‘NV_KMALLOC’ 3027 | NV_KMALLOC(pages, sizeof(struct page *) * page_count); | ^~~~~~~~~~ nvidia/nv.c: In function ‘nv_post_event’: ././common/inc/nv-linux.h:618:37: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 618 | NV_MEMDBG_ADD(ptr, size); \ | ^ nvidia/nv.c:3265:9: note: in expansion of macro ‘NV_KMALLOC_ATOMIC’ 3265 | NV_KMALLOC_ATOMIC(nvet, sizeof(nvidia_event_t)); | ^~~~~~~~~~~~~~~~~ nvidia/nv.c: In function ‘nvidia_probe’: ././common/inc/nv-linux.h:611:37: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 611 | NV_MEMDBG_ADD(ptr, size); \ | ^ nvidia/nv.c:3815:5: note: in expansion of macro ‘NV_KMALLOC’ 3815 | NV_KMALLOC(nvl, sizeof(nv_linux_state_t)); | ^~~~~~~~~~ CC [M] nvidia/nv-chrdev.o CC [M] nvidia/nv-cray.o In file included from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/srcu.h:21, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/notifier.h:16, from /usr/lib/modules/6.14.0-zen1-1-zen/build/arch/x86/include/asm/uprobes.h:13, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/uprobes.h:63, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/mm_types.h:16, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/mmzone.h:22, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/gfp.h:7, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/mm.h:7, from ././common/inc/nv-pgprot.h:17, from ././common/inc/nv-linux.h:20: In function ‘nv_stop_device’, inlined from ‘nv_close_device’ at nvidia/nv.c:1938:9: /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/workqueue.h:765:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning] 765 | __warn_flushing_systemwide_wq(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ././common/inc/nv-linux.h:1528:5: note: in expansion of macro ‘flush_scheduled_work’ 1528 | flush_scheduled_work(); | ^~~~~~~~~~~~~~~~~~~~ nvidia/nv.c:1875:9: note: in expansion of macro ‘NV_WORKQUEUE_FLUSH’ 1875 | NV_WORKQUEUE_FLUSH(); | ^~~~~~~~~~~~~~~~~~ In file included from nvidia/nv-acpi.c:16: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia/nv-acpi.c: In function ‘nv_acpi_methods_uninit’: nvidia/nv-acpi.c:687:25: warning: unused variable ‘device’ [-Wunused-variable] 687 | struct acpi_device *device = NULL; | ^~~~~~ In file included from nvidia/nv-cray.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia/nv-dma.o In file included from nvidia/nv-chrdev.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia/nv-gvi.o nvidia/nv.c: In function ‘nvidia_remove’: /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/workqueue.h:765:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning] 765 | __warn_flushing_systemwide_wq(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ././common/inc/nv-linux.h:1528:5: note: in expansion of macro ‘flush_scheduled_work’ 1528 | flush_scheduled_work(); | ^~~~~~~~~~~~~~~~~~~~ nvidia/nv.c:4106:9: note: in expansion of macro ‘NV_WORKQUEUE_FLUSH’ 4106 | NV_WORKQUEUE_FLUSH(); | ^~~~~~~~~~~~~~~~~~ In function ‘nv_stop_device’, inlined from ‘nv_close_device’ at nvidia/nv.c:1938:9, inlined from ‘nvidia_dev_put_uuid’ at nvidia/nv.c:4798:5: /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/workqueue.h:765:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning] 765 | __warn_flushing_systemwide_wq(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ././common/inc/nv-linux.h:1528:5: note: in expansion of macro ‘flush_scheduled_work’ 1528 | flush_scheduled_work(); | ^~~~~~~~~~~~~~~~~~~~ nvidia/nv.c:1875:9: note: in expansion of macro ‘NV_WORKQUEUE_FLUSH’ 1875 | NV_WORKQUEUE_FLUSH(); | ^~~~~~~~~~~~~~~~~~ CC [M] nvidia/nv-i2c.o CC [M] nvidia/nv-mempool.o In file included from nvidia/nv-dma.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia/nv-dma.c: At top level: nvidia/nv-dma.c:224:6: warning: no previous prototype for ‘nv_load_dma_map_scatterlist’ [-Wmissing-prototypes] 224 | void nv_load_dma_map_scatterlist( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nvidia/nv-gvi.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/srcu.h:21, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/notifier.h:16, from /usr/lib/modules/6.14.0-zen1-1-zen/build/arch/x86/include/asm/uprobes.h:13, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/uprobes.h:63, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/mm_types.h:16, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/mmzone.h:22, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/gfp.h:7, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/mm.h:7, from ././common/inc/nv-pgprot.h:17, from ././common/inc/nv-linux.h:20: nvidia/nv-gvi.c: In function ‘nv_gvi_kern_suspend’: /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/workqueue.h:765:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning] 765 | __warn_flushing_systemwide_wq(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ././common/inc/nv-linux.h:1528:5: note: in expansion of macro ‘flush_scheduled_work’ 1528 | flush_scheduled_work(); | ^~~~~~~~~~~~~~~~~~~~ nvidia/nv-gvi.c:90:5: note: in expansion of macro ‘NV_WORKQUEUE_FLUSH’ 90 | NV_WORKQUEUE_FLUSH(); | ^~~~~~~~~~~~~~~~~~ CC [M] nvidia/nv-mmap.o In file included from nvidia/nv-i2c.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia/nv-mempool.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia/nv-p2p.o CC [M] nvidia/nv-pat.o CC [M] nvidia/nv-procfs.o In file included from nvidia/nv-mmap.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia/nv-mmap.c: At top level: nvidia/nv-mmap.c:273:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 273 | int static nvidia_mmap_peer_io( | ^~~ nvidia/nv-mmap.c:294:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 294 | int static nvidia_mmap_sysmem( | ^~~ nvidia/nv-mmap.c: In function ‘nv_encode_caching’: nvidia/nv-mmap.c:262:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 262 | if (NV_ALLOW_CACHING(memory_type)) | ^ nvidia/nv-mmap.c:264:9: note: here 264 | default: | ^~~~~~~ In file included from nvidia/nv-p2p.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia/nv-procfs.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia/nv-procfs.c: At top level: nvidia/nv-procfs.c:430:1: warning: no previous prototype for ‘exercise_error_forwarding_va’ [-Wmissing-prototypes] 430 | exercise_error_forwarding_va( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] nvidia/nv-usermap.o In file included from nvidia/nv-pat.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia/nv-vm.o CC [M] nvidia/nv-vtophys.o CC [M] nvidia/os-interface.o In file included from nvidia/nv-usermap.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia/os-mlock.o In file included from nvidia/nv-vtophys.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia/os-interface.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia/nv-vm.c:14: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia/os-interface.c: In function ‘os_alloc_mem’: ././common/inc/nv-linux.h:618:37: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 618 | NV_MEMDBG_ADD(ptr, size); \ | ^ nvidia/os-interface.c:386:13: note: in expansion of macro ‘NV_KMALLOC_ATOMIC’ 386 | NV_KMALLOC_ATOMIC(*address, alloc_size); | ^~~~~~~~~~~~~~~~~ ././common/inc/nv-linux.h:611:37: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 611 | NV_MEMDBG_ADD(ptr, size); \ | ^ nvidia/os-interface.c:392:13: note: in expansion of macro ‘NV_KMALLOC’ 392 | NV_KMALLOC(*address, alloc_size); | ^~~~~~~~~~ CC [M] nvidia/os-pci.o CC [M] nvidia/os-registry.o In file included from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/srcu.h:21, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/notifier.h:16, from /usr/lib/modules/6.14.0-zen1-1-zen/build/arch/x86/include/asm/uprobes.h:13, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/uprobes.h:63, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/mm_types.h:16, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/mmzone.h:22, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/gfp.h:7, from /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/mm.h:7, from ././common/inc/nv-pgprot.h:17, from ././common/inc/nv-linux.h:20: nvidia/os-interface.c: In function ‘os_flush_work_queue’: /usr/lib/modules/6.14.0-zen1-1-zen/build/include/linux/workqueue.h:765:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning] 765 | __warn_flushing_systemwide_wq(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ././common/inc/nv-linux.h:1528:5: note: in expansion of macro ‘flush_scheduled_work’ 1528 | flush_scheduled_work(); | ^~~~~~~~~~~~~~~~~~~~ nvidia/os-interface.c:1042:9: note: in expansion of macro ‘NV_WORKQUEUE_FLUSH’ 1042 | NV_WORKQUEUE_FLUSH(); | ^~~~~~~~~~~~~~~~~~ In file included from nvidia/os-mlock.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia/os-usermap.o CC [M] nvidia/nv-modeset-interface.o In file included from nvidia/os-pci.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia/nv-pci-table.o In file included from nvidia/os-registry.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia/nv-kthread-q.o In file included from nvidia/os-usermap.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia/nv-kthread-q-selftest.o In file included from nvidia/nv-modeset-interface.c:15: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia/nv-memdbg.o CC [M] nvidia/nv-ibmnpu.o nvidia/nv-kthread-q.c:244:6: warning: no previous prototype for ‘_raw_q_flush’ [-Wmissing-prototypes] 244 | void _raw_q_flush(nv_kthread_q_t *q) | ^~~~~~~~~~~~ CC [M] nvidia/nv-report-err.o nvidia/nv-kthread-q-selftest.c:74:6: warning: no previous prototype for ‘on_nvq_assert’ [-Wmissing-prototypes] 74 | void on_nvq_assert(void) | ^~~~~~~~~~~~~ CC [M] nvidia/nv_uvm_interface.o In file included from nvidia/nv-memdbg.c:12: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia/nvlink_linux.o In file included from nvidia/nv-ibmnpu.c:27: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia/nv-ibmnpu.c: At top level: nvidia/nv-ibmnpu.c:280:6: warning: no previous prototype for ‘nv_init_ibmnpu_info’ [-Wmissing-prototypes] 280 | void nv_init_ibmnpu_info(nv_state_t *nv) | ^~~~~~~~~~~~~~~~~~~ nvidia/nv-ibmnpu.c:284:6: warning: no previous prototype for ‘nv_destroy_ibmnpu_info’ [-Wmissing-prototypes] 284 | void nv_destroy_ibmnpu_info(nv_state_t *nv) | ^~~~~~~~~~~~~~~~~~~~~~ nvidia/nv-ibmnpu.c:288:5: warning: no previous prototype for ‘nv_init_ibmnpu_devices’ [-Wmissing-prototypes] 288 | int nv_init_ibmnpu_devices(nv_state_t *nv) | ^~~~~~~~~~~~~~~~~~~~~~ CC [M] nvidia-uvm/uvm_utils.o In file included from nvidia/nv-report-err.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm_common.o In file included from nvidia/nv_uvm_interface.c:21: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia/nvlink_linux.c:30: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia/nvlink_linux.c: At top level: nvidia/nvlink_linux.c:287:12: warning: no previous prototype for ‘nvlink_core_init’ [-Wmissing-prototypes] 287 | int __init nvlink_core_init(void) | ^~~~~~~~~~~~~~~~ nvidia/nvlink_linux.c:353:6: warning: no previous prototype for ‘nvlink_core_exit’ [-Wmissing-prototypes] 353 | void nvlink_core_exit(void) | ^~~~~~~~~~~~~~~~ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_utils.c:25: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm_linux.o CC [M] nvidia-uvm/nvstatus.o CC [M] nvidia-uvm/nvCpuUuid.o CC [M] nvidia-uvm/uvm8.o CC [M] nvidia-uvm/uvm8_tools.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm_common.c:29: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_global.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_linux.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_gpu.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_tools.c:23: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_api.h:29, from nvidia-uvm/uvm8.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_tools.c: At top level: nvidia-uvm/uvm8_tools.c:2067:5: warning: no previous prototype for ‘uvm_tools_init’ [-Wmissing-prototypes] 2067 | int uvm_tools_init(dev_t uvm_base_dev) | ^~~~~~~~~~~~~~ nvidia-uvm/uvm8_tools.c:2119:6: warning: no previous prototype for ‘uvm_tools_exit’ [-Wmissing-prototypes] 2119 | void uvm_tools_exit(void) | ^~~~~~~~~~~~~~ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_api.h:29, from nvidia-uvm/uvm8_global.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_gpu_isr.o CC [M] nvidia-uvm/uvm8_procfs.o In file included from ././nvidia-uvm/uvm_linux.h:41, from ././common/inc/nv_uvm_interface.h:30, from nvidia-uvm/uvm8_gpu.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_gpu.c: At top level: nvidia-uvm/uvm8_gpu.c:2342:11: warning: no previous prototype for ‘uvm8_test_set_prefetch_filtering’ [-Wmissing-prototypes] 2342 | NV_STATUS uvm8_test_set_prefetch_filtering(UVM_TEST_SET_PREFETCH_FILTERING_PARAMS *params, struct file *filp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] nvidia-uvm/uvm8_va_space.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_global.h:28, from nvidia-uvm/uvm8_gpu_isr.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_procfs.h:28, from nvidia-uvm/uvm8_procfs.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_gpu_semaphore.o CC [M] nvidia-uvm/uvm8_mem.o CC [M] nvidia-uvm/uvm8_rm_mem.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_processors.h:27, from nvidia-uvm/uvm8_va_space.h:27, from nvidia-uvm/uvm8_va_space.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_va_space.c: At top level: nvidia-uvm/uvm8_va_space.c:1323:11: warning: no previous prototype for ‘uvm_api_enable_peer_access’ [-Wmissing-prototypes] 1323 | NV_STATUS uvm_api_enable_peer_access(UVM_ENABLE_PEER_ACCESS_PARAMS *params, struct file *filp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_va_space.c:1356:11: warning: no previous prototype for ‘uvm_api_disable_peer_access’ [-Wmissing-prototypes] 1356 | NV_STATUS uvm_api_disable_peer_access(UVM_DISABLE_PEER_ACCESS_PARAMS *params, struct file *filp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_va_space.c:1403:11: warning: no previous prototype for ‘uvm8_test_flush_deferred_work’ [-Wmissing-prototypes] 1403 | NV_STATUS uvm8_test_flush_deferred_work(UVM_TEST_FLUSH_DEFERRED_WORK_PARAMS *params, struct file *filp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_lock.h:28, from nvidia-uvm/uvm8_gpu_semaphore.h:28, from nvidia-uvm/uvm8_gpu_semaphore.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_processors.h:27, from nvidia-uvm/uvm8_mem.h:28, from nvidia-uvm/uvm8_mem.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_channel.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_processors.h:27, from nvidia-uvm/uvm8_rm_mem.h:28, from nvidia-uvm/uvm8_rm_mem.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_lock.o CC [M] nvidia-uvm/uvm8_hal.o CC [M] nvidia-uvm/uvm8_rb_tree.o CC [M] nvidia-uvm/uvm8_range_tree.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_lock.h:28, from nvidia-uvm/uvm8_gpu_semaphore.h:28, from nvidia-uvm/uvm8_channel.h:29, from nvidia-uvm/uvm8_channel.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_channel.c: At top level: nvidia-uvm/uvm8_channel.c:1140:6: warning: no previous prototype for ‘uvm_channel_manager_print_pending_pushes’ [-Wmissing-prototypes] 1140 | void uvm_channel_manager_print_pending_pushes(uvm_channel_manager_t *manager, struct seq_file *seq) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_lock.h:28, from nvidia-uvm/uvm8_lock.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_hal.h:28, from nvidia-uvm/uvm8_hal.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_range_allocator.o CC [M] nvidia-uvm/uvm8_va_range.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_range_tree.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_va_block.o CC [M] nvidia-uvm/uvm8_range_group.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_range_tree.h:27, from nvidia-uvm/uvm8_range_allocator.h:27, from nvidia-uvm/uvm8_range_allocator.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_gpu_replayable_faults.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_va_range.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_va_range.c: At top level: nvidia-uvm/uvm8_va_range.c:562:6: warning: no previous prototype for ‘uvm_va_range_remove_gpu_va_space_managed’ [-Wmissing-prototypes] 562 | void uvm_va_range_remove_gpu_va_space_managed(uvm_va_range_t *va_range, uvm_gpu_va_space_t *gpu_va_space) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_va_range.c: In function ‘uvm_va_range_check_logical_permissions’: nvidia-uvm/uvm8_va_range.c:1571:81: warning: implicit conversion from ‘uvm_fault_type_t’ to ‘uvm_fault_access_type_t’ [-Wenum-conversion] 1571 | if (uvm_enable_builtin_tests && !fault_check_range_permission(va_range, access_type)) | ^~~~~~~~~~~ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_va_block.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_range_tree.h:27, from nvidia-uvm/uvm8_range_group.h:28, from nvidia-uvm/uvm8_range_group.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_va_block.c: At top level: nvidia-uvm/uvm8_va_block.c:6524:11: warning: no previous prototype for ‘block_map’ [-Wmissing-prototypes] 6524 | NV_STATUS block_map(uvm_va_block_t *va_block, | ^~~~~~~~~ nvidia-uvm/uvm8_range_group.c: At top level: nvidia-uvm/uvm8_range_group.c:509:26: warning: no previous prototype for ‘uvm_range_group_range_prev’ [-Wmissing-prototypes] 509 | uvm_range_group_range_t *uvm_range_group_range_prev(uvm_va_space_t *va_space, uvm_range_group_range_t *range) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_range_group.c:515:26: warning: no previous prototype for ‘uvm_range_group_range_next’ [-Wmissing-prototypes] 515 | uvm_range_group_range_t *uvm_range_group_range_next(uvm_va_space_t *va_space, uvm_range_group_range_t *range) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_range_group.c:667:6: warning: no previous prototype for ‘range_group_range_iter_advance’ [-Wmissing-prototypes] 667 | void range_group_range_iter_advance(uvm_range_group_range_iter_t *iter, NvU64 end) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_range_group.c:764:11: warning: no previous prototype for ‘uvm8_test_range_group_range_info’ [-Wmissing-prototypes] 764 | NV_STATUS uvm8_test_range_group_range_info(UVM_TEST_RANGE_GROUP_RANGE_INFO_PARAMS *params, struct file *filp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_range_group.c:805:11: warning: no previous prototype for ‘uvm8_test_range_group_range_count’ [-Wmissing-prototypes] 805 | NV_STATUS uvm8_test_range_group_range_count(UVM_TEST_RANGE_GROUP_RANGE_COUNT_PARAMS *params, struct file *filp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_va_block.c: In function ‘block_cpu_fault_locked’: nvidia-uvm/uvm8_va_block.c:9392:53: warning: implicit conversion from ‘uvm_fault_access_type_t’ to ‘uvm_fault_type_t’ [-Wenum-conversion] 9392 | fault_access_type, | ^~~~~~~~~~~~~~~~~ In file included from ././nvidia-uvm/uvm_linux.h:41, from ././common/inc/nv_uvm_interface.h:30, from nvidia-uvm/uvm8_gpu_replayable_faults.c:25: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_gpu_replayable_faults.c: In function ‘check_fault_access_permissions’: nvidia-uvm/uvm8_gpu_replayable_faults.c:974:69: warning: implicit conversion from ‘uvm_fault_access_type_t’ to ‘uvm_fault_type_t’ [-Wenum-conversion] 974 | fault_entry->fault_access_type, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_gpu_replayable_faults.c:997:66: warning: implicit conversion from ‘enum ’ to ‘uvm_fault_type_t’ [-Wenum-conversion] 997 | UVM_FAULT_ACCESS_TYPE_READ, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] nvidia-uvm/uvm8_gpu_non_replayable_faults.o nvidia-uvm/uvm8_gpu_replayable_faults.c: At top level: nvidia-uvm/uvm8_gpu_replayable_faults.c:2249:11: warning: no previous prototype for ‘uvm8_test_get_prefetch_faults_reenable_lapse’ [-Wmissing-prototypes] 2249 | NV_STATUS uvm8_test_get_prefetch_faults_reenable_lapse(UVM_TEST_GET_PREFETCH_FAULTS_REENABLE_LAPSE_PARAMS *params, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_gpu_replayable_faults.c:2257:11: warning: no previous prototype for ‘uvm8_test_set_prefetch_faults_reenable_lapse’ [-Wmissing-prototypes] 2257 | NV_STATUS uvm8_test_set_prefetch_faults_reenable_lapse(UVM_TEST_SET_PREFETCH_FAULTS_REENABLE_LAPSE_PARAMS *params, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] nvidia-uvm/uvm8_gpu_access_counters.o CC [M] nvidia-uvm/uvm8_perf_events.o In file included from ././nvidia-uvm/uvm_linux.h:41, from ././common/inc/nv_uvm_interface.h:30, from nvidia-uvm/uvm8_gpu_non_replayable_faults.c:23: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_gpu_non_replayable_faults.c: In function ‘service_non_replayable_fault_block_locked’: nvidia-uvm/uvm8_gpu_non_replayable_faults.c:224:64: warning: implicit conversion from ‘uvm_fault_access_type_t’ to ‘uvm_fault_type_t’ [-Wenum-conversion] 224 | fault_entry->fault_access_type, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ././nvidia-uvm/uvm_linux.h:41, from ././common/inc/nv_uvm_interface.h:30, from nvidia-uvm/uvm8_gpu_access_counters.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_perf_module.o CC [M] nvidia-uvm/uvm8_mmu.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_test.h:27, from nvidia-uvm/uvm8_perf_events.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_pte_batch.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_perf_events.h:27, from nvidia-uvm/uvm8_perf_module.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_tlb_batch.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_gpu.h:31, from nvidia-uvm/uvm8_mmu.c:26: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_mmu.c: At top level: nvidia-uvm/uvm8_mmu.c:698:11: warning: no previous prototype for ‘try_get_ptes’ [-Wmissing-prototypes] 698 | NV_STATUS try_get_ptes(uvm_page_tree_t *tree, | ^~~~~~~~~~~~ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_hal_types.h:27, from nvidia-uvm/uvm8_pte_batch.h:28, from nvidia-uvm/uvm8_pte_batch.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_push.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_hal_types.h:27, from nvidia-uvm/uvm8_tlb_batch.h:28, from nvidia-uvm/uvm8_tlb_batch.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_pushbuffer.o CC [M] nvidia-uvm/uvm8_thread_context.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_hal_types.h:27, from nvidia-uvm/uvm8_push.h:28, from nvidia-uvm/uvm8_push.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_lock.h:28, from nvidia-uvm/uvm8_pushbuffer.h:28, from nvidia-uvm/uvm8_pushbuffer.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_pushbuffer.c: At top level: nvidia-uvm/uvm8_pushbuffer.c:112:10: warning: no previous prototype for ‘uvm_pushbuffer_get_size’ [-Wmissing-prototypes] 112 | NvLength uvm_pushbuffer_get_size(uvm_pushbuffer_t *pushbuffer) | ^~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_pushbuffer.c:213:6: warning: no previous prototype for ‘uvm_pushbuffer_update_progress’ [-Wmissing-prototypes] 213 | void uvm_pushbuffer_update_progress(uvm_pushbuffer_t *pushbuffer) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_lock.h:28, from nvidia-uvm/uvm8_thread_context.h:38, from nvidia-uvm/uvm8_thread_context.c:25: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_tracker.o CC [M] nvidia-uvm/uvm8_kepler.o CC [M] nvidia-uvm/uvm8_kepler_ce.o CC [M] nvidia-uvm/uvm8_kepler_host.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_tracker.h:29, from nvidia-uvm/uvm8_tracker.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_hal.h:28, from nvidia-uvm/uvm8_kepler.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_hal.h:28, from nvidia-uvm/uvm8_kepler_ce.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_kepler_host.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_kepler_mmu.o CC [M] nvidia-uvm/uvm8_maxwell.o CC [M] nvidia-uvm/uvm8_maxwell_host.o CC [M] nvidia-uvm/uvm8_pascal.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_gpu.h:31, from nvidia-uvm/uvm8_kepler_mmu.c:39: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_kepler_mmu.c: At top level: nvidia-uvm/uvm8_kepler_mmu.c:343:21: warning: no previous prototype for ‘uvm_hal_mmu_mode_kepler’ [-Wmissing-prototypes] 343 | uvm_mmu_mode_hal_t *uvm_hal_mmu_mode_kepler(NvU32 big_page_size) | ^~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_kepler_mmu.c:352:6: warning: no previous prototype for ‘uvm_hal_kepler_mmu_enable_prefetch_faults_unsupported’ [-Wmissing-prototypes] 352 | void uvm_hal_kepler_mmu_enable_prefetch_faults_unsupported(uvm_gpu_t *gpu) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_kepler_mmu.c:357:6: warning: no previous prototype for ‘uvm_hal_kepler_mmu_disable_prefetch_faults_unsupported’ [-Wmissing-prototypes] 357 | void uvm_hal_kepler_mmu_disable_prefetch_faults_unsupported(uvm_gpu_t *gpu) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_hal.h:28, from nvidia-uvm/uvm8_maxwell.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_hal.h:28, from nvidia-uvm/uvm8_pascal.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_maxwell_host.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_pascal_ce.o CC [M] nvidia-uvm/uvm8_pascal_host.o CC [M] nvidia-uvm/uvm8_pascal_mmu.o CC [M] nvidia-uvm/uvm8_pascal_fault_buffer.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_hal.h:28, from nvidia-uvm/uvm8_pascal_ce.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_pascal_host.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_volta_host.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_gpu.h:31, from nvidia-uvm/uvm8_pascal_mmu.c:36: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_pascal_fault_buffer.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_pascal_mmu.c: In function ‘index_bits_pascal’: nvidia-uvm/uvm8_pascal_mmu.c:171:5: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 171 | const static NvU32 bit_widths[] = {2, 9, 9, 8}; | ^~~~~ nvidia-uvm/uvm8_pascal_mmu.c: At top level: nvidia-uvm/uvm8_pascal_mmu.c:345:21: warning: no previous prototype for ‘uvm_hal_mmu_mode_pascal’ [-Wmissing-prototypes] 345 | uvm_mmu_mode_hal_t *uvm_hal_mmu_mode_pascal(NvU32 big_page_size) | ^~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_pascal_mmu.c:357:6: warning: no previous prototype for ‘uvm_hal_pascal_mmu_enable_prefetch_faults’ [-Wmissing-prototypes] 357 | void uvm_hal_pascal_mmu_enable_prefetch_faults(uvm_gpu_t *gpu) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_pascal_mmu.c:369:6: warning: no previous prototype for ‘uvm_hal_pascal_mmu_disable_prefetch_faults’ [-Wmissing-prototypes] 369 | void uvm_hal_pascal_mmu_disable_prefetch_faults(uvm_gpu_t *gpu) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] nvidia-uvm/uvm8_volta_mmu.o CC [M] nvidia-uvm/uvm8_volta.o CC [M] nvidia-uvm/uvm8_volta_fault_buffer.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_volta_host.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_global.h:28, from nvidia-uvm/uvm8_volta_mmu.c:26: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_volta_fault_buffer.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_hal.h:28, from nvidia-uvm/uvm8_volta.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_volta_fault_buffer.c: At top level: nvidia-uvm/uvm8_volta_fault_buffer.c:354:6: warning: no previous prototype for ‘parse_fault_entry_common’ [-Wmissing-prototypes] 354 | void parse_fault_entry_common(uvm_gpu_t *gpu, NvU32 *fault_entry, uvm_fault_buffer_entry_t *buffer_entry) | ^~~~~~~~~~~~~~~~~~~~~~~~ CC [M] nvidia-uvm/uvm8_volta_access_counter_buffer.o CC [M] nvidia-uvm/uvm8_policy.o CC [M] nvidia-uvm/uvm8_perf_utils.o CC [M] nvidia-uvm/uvm8_kvmalloc.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_volta_access_counter_buffer.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_volta_access_counter_buffer.c: At top level: nvidia-uvm/uvm8_volta_access_counter_buffer.c:33:6: warning: no previous prototype for ‘uvm_hal_volta_enable_access_counter_notifications’ [-Wmissing-prototypes] 33 | void uvm_hal_volta_enable_access_counter_notifications(uvm_gpu_t *gpu) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_volta_access_counter_buffer.c:44:6: warning: no previous prototype for ‘uvm_hal_volta_disable_access_counter_notifications’ [-Wmissing-prototypes] 44 | void uvm_hal_volta_disable_access_counter_notifications(uvm_gpu_t *gpu) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_volta_access_counter_buffer.c:55:7: warning: no previous prototype for ‘uvm_hal_volta_access_counter_buffer_entry_size’ [-Wmissing-prototypes] 55 | NvU32 uvm_hal_volta_access_counter_buffer_entry_size(uvm_gpu_t *gpu) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_volta_access_counter_buffer.c:141:6: warning: no previous prototype for ‘uvm_hal_volta_access_counter_buffer_entry_is_valid’ [-Wmissing-prototypes] 141 | bool uvm_hal_volta_access_counter_buffer_entry_is_valid(uvm_gpu_t *gpu, NvU32 index) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_volta_access_counter_buffer.c:153:6: warning: no previous prototype for ‘uvm_hal_volta_access_counter_buffer_entry_clear_valid’ [-Wmissing-prototypes] 153 | void uvm_hal_volta_access_counter_buffer_entry_clear_valid(uvm_gpu_t *gpu, NvU32 index) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_volta_access_counter_buffer.c:162:6: warning: no previous prototype for ‘uvm_hal_volta_access_counter_buffer_parse_entry’ [-Wmissing-prototypes] 162 | void uvm_hal_volta_access_counter_buffer_parse_entry(uvm_gpu_t *gpu, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_processors.h:27, from nvidia-uvm/uvm8_va_space.h:27, from nvidia-uvm/uvm8_policy.c:25: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_perf_utils.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_kvmalloc.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_pmm_sysmem.o nvidia-uvm/uvm8_policy.c: At top level: nvidia-uvm/uvm8_policy.c:357:11: warning: no previous prototype for ‘va_block_set_read_duplication_locked’ [-Wmissing-prototypes] 357 | NV_STATUS va_block_set_read_duplication_locked(uvm_va_block_t *va_block, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] nvidia-uvm/uvm8_pmm_gpu.o CC [M] nvidia-uvm/uvm8_migrate.o CC [M] nvidia-uvm/uvm8_map_external.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_gpu.h:31, from nvidia-uvm/uvm8_pmm_sysmem.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_pmm_gpu.c:162: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_migrate.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_user_channel.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_map_external.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_map_external.c: At top level: nvidia-uvm/uvm8_map_external.c:278:11: warning: no previous prototype for ‘map_rm_pt_range’ [-Wmissing-prototypes] 278 | NV_STATUS map_rm_pt_range(uvm_va_range_t *va_range, | ^~~~~~~~~~~~~~~ CC [M] nvidia-uvm/uvm8_hmm.o CC [M] nvidia-uvm/uvm8_perf_heuristics.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_user_channel.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_user_channel.c: At top level: nvidia-uvm/uvm8_user_channel.c:904:11: warning: no previous prototype for ‘uvm8_test_check_channel_va_space’ [-Wmissing-prototypes] 904 | NV_STATUS uvm8_test_check_channel_va_space(UVM_TEST_CHECK_CHANNEL_VA_SPACE_PARAMS *params, struct file *filp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] nvidia-uvm/uvm8_perf_thrashing.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_hmm.h:29, from nvidia-uvm/uvm8_hmm.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_perf_prefetch.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_perf_heuristics.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_test.o CC [M] nvidia-uvm/uvm8_test_rng.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_perf_events.h:27, from nvidia-uvm/uvm8_perf_thrashing.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_perf_thrashing.c: At top level: nvidia-uvm/uvm8_perf_thrashing.c:1406:11: warning: no previous prototype for ‘uvm8_test_get_page_thrashing_policy’ [-Wmissing-prototypes] 1406 | NV_STATUS uvm8_test_get_page_thrashing_policy(UVM_TEST_GET_PAGE_THRASHING_POLICY_PARAMS *params, struct file *filp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_perf_thrashing.c:1428:11: warning: no previous prototype for ‘uvm8_test_set_page_thrashing_policy’ [-Wmissing-prototypes] 1428 | NV_STATUS uvm8_test_set_page_thrashing_policy(UVM_TEST_SET_PAGE_THRASHING_POLICY_PARAMS *params, struct file *filp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_perf_prefetch.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_perf_prefetch.c: At top level: nvidia-uvm/uvm8_perf_prefetch.c:508:11: warning: no previous prototype for ‘uvm8_test_set_page_prefetch_policy’ [-Wmissing-prototypes] 508 | NV_STATUS uvm8_test_set_page_prefetch_policy(UVM_TEST_SET_PAGE_PREFETCH_POLICY_PARAMS *params, struct file *filp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_api.h:29, from nvidia-uvm/uvm8_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_test_rng.h:28, from nvidia-uvm/uvm8_test_rng.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_range_tree_test.o CC [M] nvidia-uvm/uvm8_range_allocator_test.o CC [M] nvidia-uvm/uvm8_gpu_semaphore_test.o CC [M] nvidia-uvm/uvm8_mem_test.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_range_tree_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_range_allocator_test.c:25: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_global.h:28, from nvidia-uvm/uvm8_gpu_semaphore_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_gpu_semaphore_test.c: At top level: nvidia-uvm/uvm8_gpu_semaphore_test.c:57:11: warning: no previous prototype for ‘test_tracking’ [-Wmissing-prototypes] 57 | NV_STATUS test_tracking(uvm_va_space_t *va_space) | ^~~~~~~~~~~~~ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_hal.h:28, from nvidia-uvm/uvm8_mem_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_rm_mem_test.o CC [M] nvidia-uvm/uvm8_page_tree_test.o CC [M] nvidia-uvm/uvm8_tracker_test.o CC [M] nvidia-uvm/uvm8_push_test.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_processors.h:27, from nvidia-uvm/uvm8_rm_mem.h:28, from nvidia-uvm/uvm8_rm_mem_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_test.h:27, from nvidia-uvm/uvm8_page_tree_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_page_tree_test.c: At top level: nvidia-uvm/uvm8_page_tree_test.c:58:7: warning: no previous prototype for ‘cpu_addr_from_fake’ [-Wmissing-prototypes] 58 | void *cpu_addr_from_fake(uvm_gpu_address_t fake_gpu_addr) | ^~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_page_tree_test.c:72:6: warning: no previous prototype for ‘fake_wait_for_idle’ [-Wmissing-prototypes] 72 | void fake_wait_for_idle(uvm_push_t *push) | ^~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_page_tree_test.c:76:6: warning: no previous prototype for ‘fake_noop’ [-Wmissing-prototypes] 76 | void fake_noop(uvm_push_t *push, NvU32 size) | ^~~~~~~~~ nvidia-uvm/uvm8_page_tree_test.c:81:6: warning: no previous prototype for ‘fake_membar’ [-Wmissing-prototypes] 81 | void fake_membar(uvm_push_t *push) | ^~~~~~~~~~~ nvidia-uvm/uvm8_page_tree_test.c:307:11: warning: no previous prototype for ‘test_page_tree_alloc_table’ [-Wmissing-prototypes] 307 | NV_STATUS test_page_tree_alloc_table(uvm_page_tree_t *tree, NvU32 page_size, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] nvidia-uvm/uvm8_channel_test.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_lock.h:28, from nvidia-uvm/uvm8_gpu_semaphore.h:28, from nvidia-uvm/uvm8_channel.h:29, from nvidia-uvm/uvm8_tracker_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_tracker_test.c: At top level: nvidia-uvm/uvm8_tracker_test.c:228:11: warning: no previous prototype for ‘test_tracker_overwrite’ [-Wmissing-prototypes] 228 | NV_STATUS test_tracker_overwrite(uvm_va_space_t *va_space) | ^~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_tracker_test.c:316:11: warning: no previous prototype for ‘test_tracker_add_tracker’ [-Wmissing-prototypes] 316 | NV_STATUS test_tracker_add_tracker(uvm_va_space_t *va_space) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_global.h:28, from nvidia-uvm/uvm8_push_test.c:26: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_push_test.c: At top level: nvidia-uvm/uvm8_push_test.c:358:11: warning: no previous prototype for ‘test_push_interleaving’ [-Wmissing-prototypes] 358 | NV_STATUS test_push_interleaving(uvm_va_space_t *va_space) | ^~~~~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_push_test.c:587:6: warning: no previous prototype for ‘timestamp_on_complete’ [-Wmissing-prototypes] 587 | void timestamp_on_complete(void *void_data) | ^~~~~~~~~~~~~~~~~~~~~ CC [M] nvidia-uvm/uvm8_ce_test.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_global.h:28, from nvidia-uvm/uvm8_channel_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-uvm/uvm8_channel_test.c: At top level: nvidia-uvm/uvm8_channel_test.c:43:11: warning: no previous prototype for ‘test_ordering’ [-Wmissing-prototypes] 43 | NV_STATUS test_ordering(uvm_va_space_t *va_space) | ^~~~~~~~~~~~~ nvidia-uvm/uvm8_channel_test.c:298:20: warning: no previous prototype for ‘random_channel_type’ [-Wmissing-prototypes] 298 | uvm_channel_type_t random_channel_type(uvm_test_rng_t *rng) | ^~~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_channel_test.c:303:12: warning: no previous prototype for ‘random_gpu’ [-Wmissing-prototypes] 303 | uvm_gpu_t *random_gpu(uvm_test_rng_t *rng, uvm_processor_mask_t *mask) | ^~~~~~~~~~ nvidia-uvm/uvm8_channel_test.c:317:6: warning: no previous prototype for ‘test_memset_rm_mem’ [-Wmissing-prototypes] 317 | void test_memset_rm_mem(uvm_push_t *push, uvm_rm_mem_t *rm_mem, NvU32 value) | ^~~~~~~~~~~~~~~~~~ nvidia-uvm/uvm8_channel_test.c:339:11: warning: no previous prototype for ‘stress_test_all_gpus_in_va’ [-Wmissing-prototypes] 339 | NV_STATUS stress_test_all_gpus_in_va(uvm_va_space_t *va_space, NvU32 num_streams, NvU32 iterations_per_stream, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] nvidia-uvm/uvm8_lock_test.o CC [M] nvidia-uvm/uvm8_perf_utils_test.o CC [M] nvidia-uvm/uvm8_kvmalloc_test.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_lock.h:28, from nvidia-uvm/uvm8_gpu_semaphore.h:28, from nvidia-uvm/uvm8_channel.h:29, from nvidia-uvm/uvm8_ce_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_test.h:27, from nvidia-uvm/uvm8_lock_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_pmm_test.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_perf_utils.h:27, from nvidia-uvm/uvm8_perf_utils_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_kvmalloc_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_pmm_sysmem_test.o CC [M] nvidia-uvm/uvm8_perf_events_test.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_pmm_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_test.h:27, from nvidia-uvm/uvm8_pmm_sysmem_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_perf_module_test.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_perf_events.h:27, from nvidia-uvm/uvm8_perf_events_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_get_rm_ptes_test.o CC [M] nvidia-uvm/uvm8_fault_buffer_flush_test.o CC [M] nvidia-uvm/uvm8_mmu_test.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_kvmalloc.h:27, from nvidia-uvm/uvm8_perf_module_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_test.h:27, from nvidia-uvm/uvm8_get_rm_ptes_test.c:23: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_peer_identity_mappings_test.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_fault_buffer_flush_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_va_block_test.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_gpu.h:31, from nvidia-uvm/uvm8_mmu_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-uvm/uvm8_range_group_tree_test.o CC [M] nvidia-uvm/uvm8_rb_tree_test.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_test.h:27, from nvidia-uvm/uvm8_peer_identity_mappings_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_va_block_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-modeset/nvidia-modeset-linux.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm8_test.h:27, from nvidia-uvm/uvm8_range_group_tree_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ CC [M] nvidia-drm/nvidia-drm.o In file included from nvidia-uvm/uvm_linux.h:41, from nvidia-uvm/uvm_common.h:48, from nvidia-uvm/uvm8_rb_tree_test.c:24: ././common/inc/nv-linux.h: In function ‘nv_vmalloc’: ././common/inc/nv-linux.h:547:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 547 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap’: ././common/inc/nv-linux.h:561:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 561 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’: ././common/inc/nv-linux.h:573:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 573 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_cache’: ././common/inc/nv-linux.h:582:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 582 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_ioremap_wc’: ././common/inc/nv-linux.h:594:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 594 | NV_MEMDBG_ADD(ptr, size); | ^ ././common/inc/nv-linux.h: In function ‘nv_vmap’: ././common/inc/nv-linux.h:659:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 659 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE); | ^ nvidia-modeset/nvidia-modeset-linux.c:765:24: warning: no previous prototype for ‘nvkms_open_common’ [-Wmissing-prototypes] 765 | struct nvkms_per_open *nvkms_open_common(enum NvKmsClientType type, | ^~~~~~~~~~~~~~~~~ nvidia-modeset/nvidia-modeset-linux.c:817:21: warning: no previous prototype for ‘nvkms_close_common’ [-Wmissing-prototypes] 817 | void NVKMS_API_CALL nvkms_close_common(struct nvkms_per_open *popen) | ^~~~~~~~~~~~~~~~~~ nvidia-modeset/nvidia-modeset-linux.c:855:20: warning: no previous prototype for ‘nvkms_ioctl_common’ [-Wmissing-prototypes] 855 | int NVKMS_API_CALL nvkms_ioctl_common | ^~~~~~~~~~~~~~~~~~ CC [M] nvidia-drm/nvidia-drm-drv.o CC [M] nvidia-drm/nvidia-drm-utils.o CC [M] nvidia-drm/nvidia-drm-crtc.o CC [M] nvidia-drm/nvidia-drm-encoder.o nvidia-drm/nvidia-drm-drv.c:761:6: error: ‘struct drm_driver’ has no member named ‘date’ 761 | .date = "20160202", | ^~~~ nvidia-drm/nvidia-drm-drv.c:761:31: error: initialization of ‘unsigned int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion] 761 | .date = "20160202", | ^~~~~~~~~~ nvidia-drm/nvidia-drm-drv.c:761:31: note: (near initialization for ‘nv_drm_driver.driver_features’) nvidia-drm/nvidia-drm-drv.c:761:31: error: initializer element is not computable at load time nvidia-drm/nvidia-drm-drv.c:761:31: note: (near initialization for ‘nv_drm_driver.driver_features’) make[4]: *** [/usr/lib/modules/6.14.0-zen1-1-zen/build/scripts/Makefile.build:207: nvidia-drm/nvidia-drm-drv.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/usr/lib/modules/6.14.0-zen1-1-zen/build/Makefile:1992: .] Error 2 make[2]: *** [/usr/lib/modules/6.14.0-zen1-1-zen/build/Makefile:251: __sub-make] Error 2 make[2]: Leaving directory '/var/lib/dkms/nvidia/390.157/build' make[1]: *** [Makefile:251: __sub-make] Error 2 make[1]: Leaving directory '/usr/lib/modules/6.14.0-zen1-1-zen/build' make: *** [Makefile:81: modules] Error 2 # exit code: 2 # elapsed time: 00:04:47 ----------------------------------------------------------------